In order to shutdown your pc the key commands used are

“shutdown -s -t 00”

here

  • -s for shutdown
  • -t for time
  • 00 time after which system shut down here we take 0 sec you can also take it s 10 sec.

Similarly to abort the shut down

“shutdown -a”

Note: open run> & then type this cmds.