Apple gives you two ways to recover a deleted note.
If you just deleted the note, a Shake to Undo will bring up anUndo Trash Noteoption.
TapUndoto recover your note.

Otherwise, navigate to the main Folders menu in Notes.
TapRecently Deletedto access deleted notes.
If you attempt to edit a note found in the Recently Deleted folder, a prompt will display.
TapRecoverand the app will move the note out of the Recently Deleted folder and let you edit it.
A shake also allows you to undo a recent cut or paste action.
The system makes a guess as to what you intend to undo.
Essentially, each shake allows you to undo or redo the next most recent action.
By default, Apple enables the Shake to Undo setting.
To jump into the option, openSettings>General>Accessibility>Shake to Undo.
Adjust the slider to the left, to the Off position, to block the feature.
(These on-screen option arrows are not available with the on-screen iPhone system keyboard.)
PressCommand+Zto undo andShift+Command+Zto redo.
You may either tap the undo icon on-screen or pressCommand+Zto undo.
To redo, similarly, either tap the redo icon on-screen or pressShift+Command+Zon the Smart Keyboard.
The on-screen delete key remains the best way to remove a single character quickly on any iOS gadget.
If you’ve change your mind and want to redo the last thing you undid, typeCommand+Shift+Z.
The command key looks like a square with loops at the corners.