If your Commander is in your graveyard when your graveyard is exiled can you return it to the command zone?
Yes, you can put it back into the command zone when it's exiled from your graveyard.


  903.12. If a commander would be put into the exile zone from anywhere, its owner may put it into the command zone instead.