<h1>Not with a command</h1>
<p>You can not cancel <strong>any</strong> commands once they have started to execute unless you abort the print or powercycle: any normal interrupt command you send (like &quot;pause&quot;) is queued after the current command is executed in the line.</p>
<h1>Aborting is losing your print</h1>
<p>So you need to trigger a function without a G or M code. The most common solution is Powercycling - which forces the board to <em>hard</em> re-boot.</p>
<p>Another way to force a reboot is to connect the &quot;reset&quot; pin with 5V.</p>
<p>Or you connect the printer to a machine via a USB connection, which, to initialize that connection forces a reboot.</p>
<p>Another solution is using the machine's &quot;Abort print&quot; function. This bypasses the command queue and triggers pretty much a <em>soft reboot</em>.</p>
<p><strong>In all cases, the print is lost.</strong></p>

CC BY-SA 4.0
2022-08-18T19:32:59.260Z
2022-08-19T09:27:12.660Z
2022-08-19T09:27:12.660Z
Trish
<p>I’m spending hours trying to get a bed mesh that gives me a reliable first layer.  I’ve got CHEP’s concentric square pattern printing reliably, but real objects still fail, and the G26 test pattern in Marlin FW is failing immediately.</p>
<p>Can I kill a G26 R999 that’s already begun, once I get filament balling up on my nozzle?</p>

CC BY-SA 4.0
2022-08-18T07:27:01.820Z
You can pull the power cord from the socket, or reset the board.
0scar
<creality-ender-3><marlin><troubleshooting><bed-leveling><g-code>
Can I cancel a G26 that’s already underway?
kaltorak
# Can I cancel a G26 that’s already underway?

(Asked by: username_0 on 2022-08-18)

I’m spending hours trying to get a bed mesh that gives me a reliable first layer. I’ve got CHEP’s concentric square pattern printing reliably, but real objects still fail, and the G26 test pattern in Marlin FW is failing immediately.

Can I kill a G26 R999 that’s already begun, once I get filament balling up on my nozzle?

**Tags:** creality-ender-3, marlin, troubleshooting, bed-leveling, g-code

> **Comments:**
> **username_1**: You can pull the power cord from the socket, or reset the board.  

---

## 1 answers

### Answer by username_2 on 2022-08-18. Score: 1

# Not with a command

You can not cancel **any** commands once they have started to execute unless you abort the print or powercycle: any normal interrupt command you send (like "pause") is queued after the current command is executed in the line.

# Aborting is losing your print

So you need to trigger a function without a G or M code. The most common solution is Powercycling - which forces the board to *hard* re-boot.

Another way to force a reboot is to connect the "reset" pin with 5V.

Or you connect the printer to a machine via a USB connection, which, to initialize that connection forces a reboot.

Another solution is using the machine's "Abort print" function. This bypasses the command queue and triggers pretty much a *soft reboot*.

**In all cases, the print is lost.**


---

