cancel windows shutdown timer code example Example 1: windows shutdown command timer shutdown -s -t SECONDS Example 2: cancel shutdown timer shutdown -a