wdired-exit
wdired-exit is an interactive compiled Lisp function in `wdired.el
'.
(wdired-exit)
Exit wdired and return to dired mode.
Just return to dired mode if there are no changes. Otherwise,
ask a yes-or-no question whether to save or cancel changes,
and proceed depending on the answer.