code: def shutdown_abort():
      '''
      Abort a shutdown. Only available while the dialog box is being
      displayed to the user. Once the shutdown has initiated, it cannot be
      aborted.
  
      Returns:
          bool: ``True`` if successful, otherwise ``False``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' system.shutdown_abort
      '''
      try:
          win32api.AbortSystemShutdown('127.0.0.1')
          return True
      except pywintypes.error as exc:
          (number, context, message) = exc.args
          log.error('Failed to abort system shutdown')
          log.error('nbr: %s', number)
          log.error('ctx: %s', context)
          log.error('msg: %s', message)
          return Falsf shutdown_abort():
      '''
      Abort a shutdown. Only available while the dialog box is being
      displayed to the user. Once the shutdown has initiated, it cannot be
      aborted.
  
      Returns:
          bool: ``True`` if successful, otherwise ``False``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' system.shutdown_abort
      '''
      try:
          win32api.AbortSystemShutdown('127.0.0.1')
          return True
      except pywintypes.error as exc:
          (number, context, message) = exc.args
          log.error('Failed to abort system shutdown')
          log.error('nbr: %s', number)
          log.error('ctx: %s', context)
          log.error('msg: %s', message)
          return False
docs: Abort a shutdown. Only available while the dialog box is being
      displayed to the user. Once the shutdown has initiated, it cannot be
      aborted.
  
      Returns:
          bool: ``True`` if successful, otherwise ``False``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'minion-id' system.shutdown_abort