---
title: "manage sessions"
description: "Use `/rewind` to rewind a conversation. You will be prompted to select from recent sessions and then a point in the conversation history to rewind to. The code and context will be restored to that point."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/manage-sessions
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:30:46.645Z
license: CC-BY-4.0
attribution: "manage sessions — Claudary (https://claudary.paisolsolutions.com/skills/manage-sessions)"
---

# manage sessions
Use `/rewind` to rewind a conversation. You will be prompted to select from recent sessions and then a point in the conversation history to rewind to. The code and context will be restored to that point.

## Overview

---
title: "Manage Sessions"
sidebar_position: 4
---

Use `/rewind` to rewind a conversation. You will be prompted to select from recent sessions and then a point in the conversation history to rewind to. The code and context will be restored to that point.


⭐ Being able to rewind is very useful if you want to backtrack to a previous state, this is crucial feature to keep your context window clean in case something goes wrong.

* Use `/clear` to start a new session. Note, the context will be cleared and you will start a new session. Previous sessions are saved and can be resumed later.
* Use `/resume` to resume a conversation. You will be prompted to select from recent sessions.
* Use `/export` conversation to a file or clipboard.
* Use `/compact` to compact the context window.

---

From the command line, you can use `claude --resume` to resume to a session. Or `claude --continue` to continue the last session.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/manage-sessions) · https://claudary.paisolsolutions.com
