win32api.AbortSystemShutdown

AbortSystemShutdown(computerName)

Aborts a system shutdown

Parameters

computerName : string/PyUnicode

Specifies the name of the computer where the shutdown is to be stopped.

Win32 API References

Search for AbortSystemShutdown at msdn, google or google groups.