Step1. Press the right button of the mouse on the clean area of the desktop and then choose “shortcut” under “New”
Step 2: Write “shutdown -a” under “type the location of the item” and click next.Step3: Now give the shortcut name of your choice and click on finish.
Step 4: With this the abort operation icon is ready. Now whenever, you click on the shutdown or restart button, then immediately press this icon and the operation is aborted.