# cortex abort

Source: https://usecns.dev/cortex-cli-abort/

[Start here](https://usecns.dev/manual-cortex/)
[CLI commands](https://usecns.dev/commands-cortex/)
[Configuration & integration](https://usecns.dev/cortex-topics/)

Usage: `cortex abort [--task <ID>] [--sub <ID>] [--background] [COMMON_OPTIONS]`. POST `/abort`; optional numeric task/submission targets, and `--background` (false by default) requests background handling. Without targets the body is empty. This is a durable runtime cancellation request, not deletion of the transcript.

See [CLI conventions](https://usecns.dev/cortex-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-cortex/).