BUILD / quit-the-grok-build-tui

Build

Quit the Grok Build TUI

Quit the Grok Build TUI

/quit (alias /exit) leaves the interactive Build application. Official: Modes and Commands.

Exit the TUI

In a session, run either form:

/quit
/exit

The process ends. Session history stays on disk under ~/.grok/sessions/ for later /resume or grok -c — see Manage sessions in Grok Build.

Quit vs navigate away

Action Command Keeps the process?
Welcome screen /home Yes
New empty session /new / /clear Yes
Sign out only /logout Yes (credentials cleared)
Leave the app /quit / /exit No

Sign-out how-to: Sign out of Grok Build.

Headless note

One-shot grok -p "..." already exits when the turn finishes. /quit is for the interactive TUI.

Pitfalls

  • Quitting does not roll back uncommitted file edits the agent already wrote. Commit or stash first if you need a clean tree.
  • Background tasks and subagents stop with the process. Check /tasks before you quit if a long job is still running — see Use Grok Build background tasks.