Undo the previous command

Undo the previous command: You can then press Command + Shift + Z to Redo, reversing the undo command. Command + Z