---
doc_id: commands/kill
audience: user
mode: mixed
review_policy: contract
stability: stable
covers_surfaces: [command:kill]
covers_sources: []
---
# `/kill`

Stop a running task through its registry-owned shell or external cancellation route.

<!-- pi-docs:begin name="command-contract-kill" generator="scripts/docs/generate.mjs" -->
| Command | Description | Provenance |
| --- | --- | --- |
| `/kill` | Stop a running background task: /kill <id> | `src/extension.ts:651` |
<!-- pi-docs:end name="command-contract-kill" -->
