Scieneer Common Lisp 1.3.9 online documentation

ext:quit &rest args[Function]

Terminates the current Lisp process. The arguments may be either the keyword arguments :recklessly-p and :status, or a single recklessly-p flag for backward compatibility.

When false, which is the default, the thread executes any cleanup forms and runs the thread:*thread-exit-hooks* before exiting. The variable thread:*quitting-lisp* is set to the exit status and other threads are expected to poll this flag and exit cleanly in their own time. When true, the process exits immediately without waiting for other threads to exit and without executing cleanup forms for the current thread.
The process exit status. The variable thread:*quitting-lisp* is set to this status value.