How to recover accidentally deleted cells in Jupyter Notebook September 15, 2023 by Tarik If you hit the ‘Z’ key it will undo moves and deletes. Note, not CTRL+Z, but ‘Z’ by itself. link to the GitHub issue.