The quit command

Syntax:

quit [now]

Quits the application.

If "now" is specified, the command exits immediately. Otherwise, if the current document has been modified since it was read from filestore, the command prompts the user asking whether the document should first be saved. (See the save command).