Exit-cmd
exit
Exit from Origin. Prompts you to save changes before closing. You can disable the save prompt with the doc -s command
This script shuts down Origin without prompting to save the project:
doc -s; exit;
If you need to shutdown Origin from another application using DDE, use this:
doc -s; def timerproc { exit; } timer 5;