Exiting mail without saving changes

Use the x or ex subcommand to exit mail without making mailbox changes.

Item Description
x or ex The x or ex subcommand allows you to leave the mailbox and return to the operating system without changing the original contents of the mailbox. The program ignores any requests you made prior to the x request; however, if you did save a message to another folder, the save will occur.