DocumentationMathematicaFront EndFront End TokensFile Menu
"FrontEndQuit" is a front end token that causes the front end to quit. It also prompts the user to save any open notebooks, if necessary.
This token is equivalent to the menu command File Quit.
To execute a front end token, you typically evaluate a command of the form FrontEndExecute[FrontEndToken[token]].