# Esc Shortcut

> The key that stops Claude in the middle of a turn and keeps the work done so far.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Esc, Escape key in Claude Code, stop Claude mid-turn

## Think of it like

It is like saying wait to a helper. They stop, and keep what they have done.

## Definition

Esc is the Claude Code shortcut that stops Claude in the middle of a turn so you can steer it. Claude keeps the work it has done so far. If you queued messages, Claude Code sends them next. When a dialog is open, Esc closes it instead.

## Example

Mia sees Claude start on the wrong folder. She presses Esc and types where to look.

## Why it matters

You can change course without losing the work or starting over.

## Common mistake

Thinking Esc undoes what Claude did. It only stops it. To go back, press Esc twice.

## Three principles

- **Stops the turn.** Keeps the work.
- **Sends the queue.** Next.
- **Closes dialogs.** When one is open.

## Related terms

- [Ctrl+C Shortcut](https://learn.benibix.com/term/ai/ctrl-c-shortcut)
- [Esc Esc Shortcut](https://learn.benibix.com/term/ai/double-esc-shortcut)
- [Ctrl+Enter Shortcut](https://learn.benibix.com/term/ai/ctrl-enter-shortcut)

## Told apart from

- [Esc vs Ctrl+C in Claude Code](https://learn.benibix.com/compare/esc-shortcut-vs-ctrl-c-shortcut): People think Esc and Ctrl+C both just stop Claude. Esc stops the turn, keeps the work so far, and sends anything you queued. Ctrl+C stops it too, but with nothing running it clears your prompt, and a second press quits Claude Code. Use Esc to steer, and Ctrl+C when you want out.
- [Esc vs Esc Esc](https://learn.benibix.com/compare/esc-shortcut-vs-double-esc-shortcut): People think pressing Esc twice is just a firmer way to stop Claude. It does a different job. One Esc stops Claude in the middle of its work and keeps what it has done, so you can steer it. Esc twice opens the rewind menu, where you jump back to an earlier prompt and undo the code, the chat or both.

## Taught in

- [Checkpoints and Control Keys](https://learn.benibix.com/learn/ai-claude-code/checkpoints-and-control-keys): Claude Code, 3/16

---

Source: https://learn.benibix.com/term/ai/esc-shortcut
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
