To exit from MorphoJ, use Exit. This has the same effect as clicking on the close box on the application frame.
If a project is open, the following warning will appear:
Selecting No will abort the sequence and return to the previous state of the program.
Selecting Yes will discard the current project and its contents and exit from MorphoJ.