Skip to content

Stopping a run

Stop a running agent, with or without keeping its worktree.

Stop a running agent from the TUI (x on the Agents tab), or send its process a signal:

Signal Effect
SIGTERM or Ctrl+C stops the run and removes its worktree
SIGUSR1 stops the run and keeps the worktree so you can look at what the agent did (vteam clean removes it later)

Claude is stopped, the task goes back to todo with a note, and the on-finish hook and memory curation are skipped.

If Claude has already answered, vteam finishes committing, pushing, and opening the PR first, so a stop never leaves a pushed branch without its PR.

A stopped run exits with code 143 and its log ends with ! <agent> stopped after …; the scheduler logs it as stopped, not failed. The merge ensurer stops between PRs.