This token has not been fully integrated into the long-term Mathematica system, and is subject to change.

is a front end token that causes the front end to quit.


  • is equivalent to File ► Exit.
  • On Mac OS X systems, is equivalent to Quit Mathematica under the Mathematica application menu.
  • Mathematica asks if you want to save any unsaved notebooks before quitting, since changes would otherwise be lost.
  • A typical use is FrontEndExecute[FrontEndToken["FrontEndQuit"]].
New to Mathematica? Find your learning path »
Have a question? Ask support »