---
title: "af stop"
description: "Stop an actor and every agent it started"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.forge.workreef.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# af stop

<!-- Generated by tools/gen-reference.mjs from `af stop --help`. Change the help text in crates/atoll-forge-cli/src/main.rs, then run `npm run gen:reference`. -->

You can stop your own agents; an administrator can stop any agent or runner, and a platform administrator can stop a server node. A stopped node leaves the cluster.

Stopping an agent runner stops every agent it hosts too, and what they started: their orders end as lost, and the orders it had been given but whose agents were not born return to the queue. Stopping an agent that a runner hosts leaves the runner.

Before sending the stop, it prints on its standard error the stop's reference, with which `af stop-status <reference>` asks what came of it, should no answer come. For an agent or a runner, the forge waits up to ten seconds before answering for every repository to take the stop in: once one has, nothing of the stopped actors is published there, work already under way included. The answer names any repository that has not yet, and the forge goes on taking the stop in there.

## Usage

```text
af stop [OPTIONS] <ACTOR>
```

## Arguments

- `<ACTOR>`

  ID of the actor to stop, in hex

## Options

- `--reason <REASON>`

  Reason for stopping it, recorded with the stop

  Default: `""`

## Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## Examples

```sh
af stop 30554fe19ccdf588726c72ffe25d128284b567e44d81a4f250500d9bed1c93f7 --reason "it wrote outside its task"
```

Source: https://docs.forge.workreef.dev/reference/af/stop/index.mdx
