Emacs: Exit (Quit)

By Xah Lee. Date: . Last updated: .

type Ctrl+x Ctrl+c (or, Alt+x save-buffers-kill-terminal)

or, just Alt+x kill-emacs (this won't ask you to save unsaved files. And will also quit the emacs daemon)

If the keys you press seem to do weird things, then, press Ctrl+g to cancel and try again.

emacs basics

Emacs init file topics