Can I undo a replacement with Cmd+Z? No. There is no Undo for a replacement. Go back by replacing the file with its earlier version. More: Versions and history, Going back to an earlier version