How can you undo one or more changes just made to an image?
Use the keyboard shortcut Cmd/Ctrl+Z
Press Cmd/Ctrl+U
Click a state in the history panel
Choose File > Undo