The undo option will reverse the last action performed. The menu will describe the action that will be undone i.e. Undo Cut, Undo Paste etc. A separate undo buffer is maintained for each open window. It is possible to undo multiple operations.
⌘Z