# tmux_program:stop/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/38478dff54579a4f408005d0265031abdf3a880a/apps/libtmux_erlang/src/tmux_program.erl#L84
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_program-stop-1/

```
stop(Program)
-spec stop(t()) ->
              {ok, stop_requested | already_completed} |
              {error, map()}.
```

Request stop. Use `await/2` to collect the outcome and confirm retirement.

## Parameters

- `Program` (`t()`)
