/stop is the single verb for ending anything on the platform — runs and browsers alike. There is no /cancel, and you never end something with a PATCH.
Stop a run
Works whether the run is queued or running.
Stopping and sessions
browser-use — the browser and the session share a lifetime. Stopping the run ends the run; when its browser is reaped the session is closed. Stopping the browser directly also closes the session — for this agent, browser-stop is session-close.
browsercode — stopping a run ends that turn only. The session stays open; the next run provisions a fresh browser.
Never end a run or browser by PATCH-ing a status field. Lifecycle transitions are always named actions (/stop). This is deliberate — an agent handles a named intent far more reliably than a partial state edit.