diff --git a/klippy/extras/bed_screws.py b/klippy/extras/bed_screws.py index 4749d4e104ba..c34461919466 100644 --- a/klippy/extras/bed_screws.py +++ b/klippy/extras/bed_screws.py @@ -42,7 +42,12 @@ def reset(self): self.current_screw = 0 self.accepted_screws = 0 def move(self, coord, speed): - self.printer.lookup_object('toolhead').manual_move(coord, speed) + try: + self.printer.lookup_object('toolhead').manual_move(coord, speed) + except self.printer.command_error as e: + self.unregister_commands() + self.reset() + raise def move_to_screw(self, state, screw): # Move up, over, and then down self.move((None, None, self.horizontal_move_z), self.lift_speed)