how to abort shutdown command in ubuntu?

Solution 1:

As we can read from manual page man shutdown

   -c
       Cancel a pending shutdown. This may be used cancel the effect of an
       invocation of shutdown with a time argument that is not "+0" or "now".