mh-undo
mh-undo is an interactive autoloaded compiled Lisp function in `mh-folder.el
'.
(mh-undo RANGE)
Undo pending deletes or refiles in RANGE.
If you've deleted a message or refiled it, but changed your mind,
you can cancel the action before you've executed it. Use this
command to undo a refile on or deletion of a single message. You
can also undo refiles and deletes for messages that are found in
a given RANGE.
Check the documentation of `mh-interactive-range' to see how
RANGE is read in interactive use.