I use an AHK script that mala runs on exit.
When ran, the AHK shuts the computer down, UNLESS the P2 start button is held in. If so, it then exits to the Windows desktop.
This gives me a choice of turning off the machine or just exiting mala in case I need to do some maintenance on the computer via Windows.
I can post the script, if interested.