Accidentally emptied a Note, which was then automatically deleted

Solution 1:

I'm sorry to say this but I think your note is permanently deleted.

Here's why:
Deleting text in a note is like deleting text in a Word-document. When you delete all text in a Word-document, you can still undo (using CMD+Z) while the document is open. If you closed the document, the undo history gets deleted. And I thinks iOS Notes works this way. Try to create a new Note, add some text, go back, exit the app (by swiping up) and open it again. Can you undo(shake the device) to remove text? No. Undo history is gone.

Solution 2:

You may be able to recover the Notes on your Mac using the Local Snapshots. Your Mac makes a backup of your changed files every hour, even when no external drive is connected.

  1. In the Finder click on "Go to Folder ..." and go to ~/Library/Group Containers/group.com.apple.notes/
  2. Select all items in that folder
  3. Enter the TimeMachine
  4. Navigate to a recent backup before you have lost your Notes by clicking on the layers behind the top Finder window
  5. Click on Resotre