File > Exit
 
 
 

Exits Maya. If you have saved your scene immediately preceding the Exit command, Maya exits. If you have not recently saved your scene, a message prompt appears on the screen asking if you want to save your changes. Click either Save, Don’t Save, or Cancel.