You can use the Undo command to undo the last edit performed.
To reverse the Undo command, use the Redo command. You can undo and
redo edits one at a time, from the time the file was last opened or
saved.
To Undo or Redo an Action
To undo an action, select Edit > Undo, or click the Undo toolbar button .
To redo an action, select Edit > Redo, or click the Redo toolbar button .