Ctrl Z is a keyboard shortcut that can be used to undo changes in a document. If you accidentally delete a file or make changes that you don't want, you can use Ctrl Z to undo the changes. However, if you save the document after using Ctrl Z, the changes will be permanent. If you want to recover files that were deleted or changed using Ctrl Z, you can use a data recovery program to restore the files.