Ctrl+X Ctrl+K in Claude Code
Stop all running background subagents (press twice to confirm).
Mac
Ctrl+X Ctrl+K
Windows
Ctrl+X Ctrl+K
Option-key shortcuts need your terminal to send Option as Meta on macOS. Source: Claude Code interactive mode docs, checked 2026-10-24.
More shortcuts
- Ctrl+Y: Paste the text you last deleted with Ctrl+K, Ctrl+U or Ctrl+W.
- Ctrl+_: Undo the last input edit.
- ! at start: Shell mode: run a command directly and add its output to the session.