Exit mail using the "x" command

Using the x command leaves your mailbox untouched:

   -  messages that you have read will still be marked as
      unread.
   -  messages marked for deletion will not be deleted.

Top document