# Ctrl+S Shortcut

> The key that puts what you typed aside, and brings it back when you want it.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Ctrl+S, stash prompt, Ctrl+S in Claude Code

## Think of it like

It is like putting your toys in a box so the floor is clear.

## Definition

Ctrl+S is the Claude Code shortcut that puts your prompt aside and clears the box. Press it again on an empty prompt, and the text comes back with the cursor, the pasted parts and the mode. A stashed shell command comes back in shell mode. That lets you ask something else first.

## Example

Mia is halfway through a long prompt when she needs a quick answer. She presses Ctrl+S, asks, then presses Ctrl+S again.

## Why it matters

You can stop in the middle of a prompt and not lose it.

## Common mistake

Pressing it again with new text in the box. It brings the stash back only on an empty prompt.

## Three principles

- **Stash and clear.** With text.
- **Bring it back.** On an empty prompt.
- **Keeps the mode.** Shell too.

## Related terms

- [Ctrl+G Shortcut](https://learn.benibix.com/term/ai/ctrl-g-shortcut)
- [Up Arrow Shortcut](https://learn.benibix.com/term/ai/up-arrow-shortcut)
- [! Shell Mode](https://learn.benibix.com/term/ai/shell-mode-shortcut)

## Taught in

- [Claude Code Prompt Shortcuts](https://learn.benibix.com/learn/ai-claude-code/claude-code-prompt-shortcuts): Claude Code, 4/16

---

Source: https://learn.benibix.com/term/ai/ctrl-s-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.
