Answers: <p>I assume you talk about jenkins cli?</p>
  <p>There is no command to abort the <code>safeRestart</code>.<br />
  Use <code>quiteDown</code>, <code>cancelQuietDown</code> instead and <code>safeRestart</code> only if needed.</p>
  <blockquote>
  <p><code>safeRestart</code>: Puts Jenkins into the
  quiet mode, wait for existing builds to be completed, and then restart
  Jenkins<br />
  <code>quietDown</code>: Put Jenkins in a Quiet mode, in preparation for a restart. In that mode Jenkins don’t start any build<br />
  <code>cancelQuietDown</code>: Cancel the effect of the “quiet-down” command</p>
  </blockquote>
  
Answers: CC BY-SA 4.0
Answers: 2020-06-30T09:12:06.623Z
Answers: 2020-06-30T09:12:06.623Z
Answers: Michael D.
Body: <p>Jenkins was having issues and I safe rebooted it in order to solve the issue but the issue got solved the reboot. Some jobs have ours to run so is there way to cancel the reboot?</p>
  
Tags: <jenkins>
Title: How to revert jenkins Safe restart?
UserDisplayName: Akseli Arvaja
ThreadText: # How to revert jenkins Safe restart?
  
  (Asked by: username_0 on 2020-06-29)
  
  Jenkins was having issues and I safe rebooted it in order to solve the issue but the issue got solved the reboot. Some jobs have ours to run so is there way to cancel the reboot?
  
  **Tags:** jenkins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-30. Score: 2
  
  I assume you talk about jenkins cli?
  
  There is no command to abort the `safeRestart`.  
  Use `quiteDown`, `cancelQuietDown` instead and `safeRestart` only if needed.
  
  > `safeRestart`: Puts Jenkins into the
  > quiet mode, wait for existing builds to be completed, and then restart
  > Jenkins  
  > `quietDown`: Put Jenkins in a Quiet mode, in preparation for a restart. In that mode Jenkins don’t start any build  
  > `cancelQuietDown`: Cancel the effect of the “quiet-down” command
  
  
  ---
  
  