exit(n) in a file being loaded, exits the loading of that file. exit() used from the keyboard or within a function exits from M.