See Undoing.
Ctrl+Shift+_
Undo the previous command. If Ctrl+Shift+_ is typed repeatedly, previously executed commands are undone in a "last executed, first undone" order.