Alt+F4だと間違って消すことがあるので

.netで特定のアプリを強制終了 
sp.RunProgram('taskkill.exe', '/F /IM notepad.exe', 'open', 'normal', true, false, false);
https://www.strokesplus.com/forum/pop_printer_friendly.asp?TOPIC_ID=1113