Undo or redo changes

You can undo recent changes you make to a document then redo them if you change your mind.

Undo or redo your actions

If you want to delete all the changes you made since you opened a gallery, you can restore the gallery to its state when you opened it by choosing File > Revert To….