How to Stop a CNC Machine Without Scrapping the Part
There are four or five ways to stop a CNC machine, and they are not interchangeable. This guide is for operators, setup machinists and process engineers who need to pick the right one in under a second, and to know what each stop does to the tool, the workpiece and the next startup. It covers feed hold, optional stop, program end, feed override to zero, and emergency stop, plus the recovery steps after each.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
Key takeaways
Why stopping a CNC machine is not one button
A CNC machine holds three things at the same time: axis position, spindle speed and a list of modal states (feed rate, offsets, coolant, tool length). A stop that clears all three is a restart from scratch. A stop that preserves all three lets you carry on as if nothing happened. Most production mistakes come from picking the wrong one.
On our 127 machines, the stop that gets used most is feed hold. It is the only stop that keeps the machine's position loop closed and the spindle turning. Everything else either ends the cycle or cuts power. That distinction is the whole subject of this page.
Think about what you actually want. Do you want to look at a chip, measure a feature, or change an insert? Feed hold. Do you want the program to pause at a planned point so an operator can check a bore? M01. Do you want to finish the cycle and swap the part? M30. Is a tool about to hit a fixture or a person? E-stop.
- 1Position memoryFeed hold keeps it. E-stop normally loses the current block's exact position, so you must re-approach.
- 2Spindle stateFeed hold keeps RPM. A program end stops the spindle and usually retracts to the home position.
- 3Thermal stateA two-minute hold leaves the ballscrew warm. A thirty-minute stop lets it cool, so re-check your first-off dimensions.
Feed hold: the controlled way to stop a CNC machine mid-cycle
Feed hold decelerates the axes along the programmed path and stops them, while the spindle keeps its commanded speed. On most controls the deceleration is a controlled ramp, not an instant stop, so the tool does not leave a witness mark. Press it once and the cycle pauses; press cycle start and motion resumes from the exact point where it stopped.
It is not free of consequences. A pause of more than a few seconds in a deep pocket leaves the cutter rubbing the same spot, which dulls the edge and can leave a mark. If you are holding for more than about 10 seconds in a cut, back the tool off first.
The safe sequence is: reduce feed override to 0% first if the control allows it, let the axis finish its current move, then press feed hold. Or program a retract. On a 5-axis cut with the tool tilted into a wall, pausing with the tool in contact is a good way to burnish a visible patch on a cosmetic surface.
Typical use cases: checking a chip formation, listening for chatter, clearing a nest of swarf from a deep pocket, or confirming a first-off dimension before the finishing pass. For aluminium at Ra 1.6–3.2 μm as-machined, a short pause rarely shows. On a Ra 0.2–0.8 μm finish pass, plan the stop after the pass is complete.
- 1Do thisDrop feed override to 0–10%, let the block finish, then hold.
- 2Avoid thisPausing with the tool buried in a corner or on a thin floor.
- 3Watch thisSpindle load and chip color when you resume. A dull edge shows up fast after a pause.
Program stops: M00, M01 and M30 explained
Program stops are planned before the job runs. M00 is an unconditional stop: the machine halts every time it reaches that block. M01 is an optional stop, and it only halts if the optional stop switch on the panel is enabled. M30 ends the program, rewinds to the top and cancels most modal states. M02 does the same on older controls but without the rewind on some models.
M01 is the one worth programming carefully. We place it after a roughing pass on a critical bore or a sealing face so an operator can blow out chips and check a dimension before the finish pass. On stable batch work it stays off; on first-off and high-value parts it stays on.
Where to put an M01 matters more than whether you use it. Put it at a clearance plane with Z retracted and coolant off. An M01 placed inside a canned cycle or between a tool change and its first cut just adds idle time and confusion.
M30 is the end-of-cycle stop. It should always be preceded by a retract to a safe Z and an optional coolant-off. If your post-processor puts M30 straight after the last cut without a retract, fix the post, not the operator habit.
- 1M00Always stops. Good for a mandatory manual gauge check on a safety-critical feature.
- 2M01Stops only when the panel switch is on. Best for first-off and sampling.
- 3M30Ends the cycle, rewinds, resets modals. Pair it with a Z retract and coolant off.
Feed override to zero and single block
Turning the feed override dial to 0% is the slowest and gentlest way to stop axis motion. The axes decelerate to a stop and stay under the control's position loop. Nothing is lost. On many controls, feed override can be dialed from 0% to 200% or 0% to 150%, and the change takes effect gradually rather than as a step.
The catch is that override does not stop rapid moves on all controls, and it does not stop the spindle. If the tool is in a rapid approach toward a clamp, dropping override to zero may not help. Know your control's parameter set before you rely on it.
Single block mode is the companion tool. It runs one block per cycle-start press, so you can walk a new program through the first few moves at full attention. On a 5-axis job with a tilted tool and a tight fixture, single block plus 10% rapid is the cheapest insurance you can buy.
Practical habit: on any new setup, run the first part in single block with rapid override at 25% and feed override at 50%. Increase only after the first complete cycle has been checked. This catches programming errors before they become spindle crashes.
- 1Feed override 0%Stops feed motion smoothly, keeps position and spindle.
- 2Rapid overrideUse 25% on first run. It separates a near-miss from a crash.
- 3Single blockOne block per press. Essential for proving a new program.
Emergency stop and when it is the right call
The E-stop button cuts power to the axis drives and the spindle, and applies the brakes. On a mill with a heavy head, the Z axis can drop a few tenths of a millimeter or more before it settles, depending on the counterbalance. On a lathe with a heavy chuck, the spindle coasts. That is the price of an instant stop.
Use it for one reason: something is about to hurt a person or destroy the machine. A tool about to hit a fixture at 8,000 rpm qualifies. A dimension that is 0.05 mm off does not. A loud noise you cannot identify does not, if the tool is still cutting normally; hold and look first.
After an E-stop, do not press cycle start and hope. The machine has lost its reference in many cases. The correct recovery is: clear the alarm, inspect the tool and workpiece, jog in handwheel mode away from the part, re-reference the axes if the control requires it, and then restart the program from a safe block or from the top.
If the E-stop was triggered by a crash, check the tool holder taper, the pull stud and the spindle runout before the next run. A bent pull stud will show up as chatter on the next part, not immediately.
- 1Use E-stop whenA person is at risk, or a crash is imminent and unavoidable.
- 2Do not use E-stop whenYou want to inspect a dimension, a chip or an edge.
- 3After E-stopClear alarm, inspect, jog clear, re-reference, then restart from a known block.
Step by step: stopping and restarting safely
- 1Decide the intent before you touch anythingAsk whether you need to pause, end the cycle or kill power. That single decision picks the method and prevents most restart errors.
- 2For a pause, drop feed override to 0–10%Let the axis finish the block. On a finishing pass at Ra 0.2–0.8 μm, always finish the pass before holding.
- 3Press feed hold and note the block numberWrite down the N-number on the screen or a scrap of paper. You will need it if the control loses position.
- 4Move the tool clear if the hold will last more than 10 secondsUse handwheel mode, select Z, and jog up 5–10 mm at a slow handwheel rate. Do not jog X or Y into a wall.
- 5Stop the spindle only if the pause is longFor a 20-minute break, stop the spindle and switch off coolant, then re-run the warm-up before restarting.
- 6Restart in the right orderSpindle to commanded speed, coolant on, then cycle start. Confirm the spindle reaches set RPM before the first feed move.
- 7After an E-stop, re-reference before anything elseClear the alarm, jog all axes away from the part in handwheel mode, then home or re-reference as your control requires.
- 8Check the first feature after every restartMeasure the first turned diameter or milled face. A restart that shifts by 0.02 mm is a scrapped part on a ±0.005 mm tolerance.
Which stop to use, and what it costs you
Choose by intent, not by habit
| Method | Keeps position | Spindle keeps running | Use when |
|---|---|---|---|
| Feed hold | Yes | Yes | Quick pause to inspect chip, edge or dimension |
| Feed override 0% | Yes | Yes | Gentle stop, no abrupt deceleration on the path |
| M01 optional stop | Yes | No | Planned check point inside the program |
| M00 program stop | Yes | No | Mandatory manual check on every cycle |
| M30 program end | No, rewinds | No | End of cycle, part complete |
| E-stop | Usually no | No, brakes on | Person at risk or crash imminent |
What happens after each stop
| After the stop | Recovery step | Risk if skipped |
|---|---|---|
| Feed hold | Cycle start from same block | Tool rubs if held too long in cut |
| Override 0% | Dial back to 100% | Slow cycle, no damage |
| M01 | Cycle start, spindle restarts | Cold start leaves a mark on finish pass |
| M00 | Manual check, then cycle start | Missed check, bad feature passes |
| M30 | Remove part, load next, cycle start | Offsets not reset on old controls |
| E-stop | Clear alarm, jog clear, re-reference | Crash on restart if position lost |
The short version
Feed hold for a look, M01 for a planned check, M30 to end the cycle, E-stop only when someone is at risk. Order the restart correctly and check the first feature every time.
Common questions
Can I press feed hold during a rapid move?
Yes on most controls, and the axes will decelerate to a stop. Feed override to zero, however, does not always affect rapid moves, so on a fast approach toward a clamp, use feed hold or the rapid override dial instead.
If you are proving a new program, the safer habit is single block with rapid override at 25%. That gives you a stop between every move without relying on reaction time.
Does stopping mid-cut damage the tool?
A short pause of a few seconds in aluminium or brass usually leaves no visible mark. A long pause lets the edge rub the same spot, which dulls it and can leave a witness mark on a cosmetic surface.
In hard materials such as 17-4PH or Inconel, even a short pause in a deep cut can work-harden the surface under the edge. Back the tool off before holding in those materials.
Why did my machine lose position after an E-stop?
An E-stop removes drive power. Without power, the control cannot hold the axis in closed loop, and on a vertical mill the head can settle slightly against the counterbalance or brake.
That is why the recovery procedure is to re-reference, not to press cycle start. On many controls the absolute position is only trusted after the axes are homed again.
What is the difference between M00 and M01?
M00 always stops the program at that block. M01 stops only when the optional stop switch on the machine panel is turned on.
In practice we program M01 at check points on first-off and high-value parts, and leave the switch off during stable batch runs. That keeps the same program usable for both.
Should I stop the spindle during a lunch break?
Yes. Leaving a spindle at 10,000 rpm with no cut for 30 minutes warms the bearings and the spindle housing unevenly, and the first part after the break can drift.
Stop the spindle, switch off coolant, and run the machine's warm-up cycle before restarting production. On tight tolerances such as ±0.005 mm, a cold restart is worth checking with a first-article measurement.
How do I restart after clearing a chip jam?
Hold, jog Z clear in handwheel mode, remove the chips with air or a brush, then return to the block you noted. Do not use the restart-mid-program function blindly on a 5-axis job, because the control may not restore the tilted tool vector correctly.
If in doubt, restart from the beginning of the operation, not the middle of the cut.
Need parts machined to ±0.005 mm?
Send your drawings and we will return a quotation with free DFM analysis within 12 hours. Uploads are confidential, and an NDA is available on request.
12-hour quote100% inspectionNo minimum order quantity