# Stop or pause an agent

> Stop an agent session until you press Continue or End, and the rule breaks that pause an agent by itself. Asked at setup, pre-set to on. Needs Pro, with protection on.

> **Pro**
>
> This needs Excellent Pro. Scanning and findings are free. [Free and Pro](https://www.excellent.so/docs/free-and-pro) says what each does.

You can stop an agent session at any time. Its actions are refused until you decide what happens next. This works
once protection is on, because Excellent's check is what refuses them.

## Stop an agent

Use **Stop an Agent** in the menu, **Running now** on the Overview, or the buttons on a notification. Every action that
session tries is then refused, until you press one of these:

- **Continue** lets it carry on.
- **End** stops that agent's process and the commands it was running, and nothing else. It can't be undone.

Cursor and Grok Build can be stopped, but not ended: one of their processes can run many sessions, so ending it
would end the others too. A stop that nobody answers
clears by itself after 24 hours.

## Pause when an agent breaks a rule

Excellent can pause a session by itself when an agent:

- sends your email to a website;
- deletes or moves a folder you marked never-delete;
- reads a file or key you marked never-open;
- overwrites history on main.

Setup asks about this, with all four ticked. You can change each one later in Settings, under **Pause an agent when
it…**.

A pause stops the agent mid-task, and covers the whole session, its helpers included. You get a notification:
**Agent paused**, with what it tried. Its work waits until you press **Continue** or **End**, so check your
notifications when an agent goes quiet.

Excellent pauses when its check sees the break as it happens. It also pauses when it finds the break in the logs, if
it happened in the last 10 minutes.

Source: https://www.excellent.so/docs/stop-and-pause
