Press Escape to Stop Claude Mid-Response When It's Heading the Wrong Way
Claude is three tool calls into a refactor and you can see it's heading the wrong direction. Don't wait for it to finish making changes you'll have to undo — just press Escape.
# While Claude is responding, press:
Escape
Claude stops immediately. Whatever it was doing mid-stream gets cancelled, and you're back at the prompt. The conversation history stays intact, so Claude knows what it already did and what you interrupted.
Now you can redirect:
# After pressing Escape, type your correction:
"Stop — don't refactor that file. The issue is in the middleware, not the controller."
Claude reads the full context — including the interrupted attempt — and adjusts its approach. No need to re-explain the task from scratch.
This is different from Ctrl+C:
- Escape — interrupts Claude while it's responding. Stops tool calls, code generation, or analysis in progress.
- Ctrl+C — clears your unsubmitted input. Use this when you're still typing and want to start your prompt over.
Escape is especially useful when:
- Claude is editing the wrong file
- It's running a command that's taking too long
- You realize you forgot to mention a constraint before it started
- It's generating boilerplate you didn't ask for
- A tool call is hanging or producing unexpected output
You can also press Escape twice quickly to force-stop if a single press doesn't interrupt fast enough.
Don't watch Claude make a mistake you can already see — Escape is your course-correction button.
via Claude Code
Log in to leave a comment.
When typing feels slow — describing a complex bug, explaining architecture, or thinking through a problem out loud — press Option+V to switch to voice input. Speak naturally and Claude Code transcribes your words into a prompt, so you can describe what you need at the speed of thought.
When Claude is heading down the wrong path — editing the wrong file, writing code you don't want, or giving a long explanation you don't need — press Escape to stop it immediately. You keep everything it did up to that point and can redirect with a new prompt.
Closed a session and realized you weren't done? Pass --continue (or -c) when launching Claude Code to pick up exactly where you left off — same context, same files, same conversation history — without re-explaining what you were working on.