On a Mac, the function of Ctrl + Z in Windows is performed by the Command + Z shortcut. This is the universal shortcut for Undo on a Mac, allowing you to revert the last action or change you've made in most applications. If you want to redo an action you've undone, you can use the Command + Shift + Z shortcut.