用 shutdown /a 取消正在倒计时的关机/重启

误执行了定时关机?倒计时结束前一条命令即可撤销。

Windows系统重启命令提示符中风险
在倒计时期间运行 `shutdown /a`,即可取消即将执行的关机或重启。

01命令

命令
$ shutdown /a

02作用说明

如果误输入了定时关机命令,或 Windows 弹出了更新重启倒计时,用 /a 参数可以中止这次关机。该命令只在倒计时尚未结束的窗口期内有效,所以要尽快执行。取消成功后系统会弹出通知提示。

03风险

风险中风险
使用条件Windows 10/11; command prompt or Run dialog.
!注意: 倒计时归零后就无法取消了,重要文档仍需自己提前保存。

04撤销

✓无需撤销——该命令不会改变持久状态。

05来源

  • Shutdown — Shutdown or restart the computer
    SS64 · technical · 2026-09-17
    依据: Lists SHUTDOWN /a as the abort switch that cancels a pending shutdown during the countdown.
  • shutdown
    Microsoft Learn · vendor-doc · 2026-09-17
    依据: Documents /a: "Aborts a system shutdown" and notes it only works during the time-out period.

最后验证: 2026-09-19 · 分类: 系统与设置

06相关方案