Command+Z

Alternatively called Cmd+Z and C-z, Command+Z is a keyboard shortcut most commonly used to undo the previous action. Below are other programs that use this keyboard shortcut and related information.
Most programs that support the Command+Z keyboard shortcut allow you to use it multiple times. For example, you could press and hold Command, and press Z three times to undo the last three changes (if they exist).
How to use the Command+Z keyboard shortcut
To use this keyboard shortcut, press and hold either Command key, and while continuing to hold, press Z.
Command+Z in an Internet browser
In all major Internet browsers (e.g., Chrome, Edge, Firefox, Opera, Safari), pressing Command+Z will undo any change made in a browser form or text field.
Command+Z in Microsoft Excel and other spreadsheet programs
In Microsoft Excel and other spreadsheet programs, pressing Command+Z will undo any change made in a spreadsheet.
Command+Z in Microsoft PowerPoint
In Microsoft PowerPoint, the Command+Z keyboard shortcut will undo any edit made to a presentation.
Command+Z in Microsoft Word and other word processors
In Microsoft Word and other word processors, pressing Command+Z will undo any change made in a document.
Related keyboard shortcuts and keys
Below are links to related keyboard shortcuts and individual key pages.