I recently tried different keystrokes to regain control of my mouse/keyboard from parallels, and I pressed something that cause my Mac to start shutting down. It didn't prompt me to confirm that I wanted to shutdown my Mac, it just started closing applications for the shutdown.
Question is there a way to require that the use respond to a confirmation dialog before shutting down / restarting their Mac?
Additional info- I was multi-tasking at the time, setting up a Linux KVM host , a Raspberry Pi image , among other things. I almost lost all of my work so I would like to put in a safeguard against accidentally restarting my Mac.