# Stopping and restarting processes

Send the normal stop signal first, confirm the process exited and released its port, then restart with the same verified configuration.

![Stopping and restarting processes in Foxora Desktop v5.0.3](/docs/images/v5.0.3/desktop/stage-terminal.webp)

## Where this lives

Open a project-backed task, then choose **Stage → Terminal**.

Terminals run commands in the active project working directory and stream stdout, stderr, process state, and exit status into an inspectable surface.

> **Safety:** Review commands that install software, change Git state, access secrets, use elevated privileges, or affect files outside the project.

## Steps

1. Open a project-backed task, then choose **Stage → Terminal**.
2. Send the normal stop signal first.
3. Confirm the process exited and released its port.
4. Restart with the same verified configuration.
5. Review what will be retained, revoked, detached, stopped, or permanently deleted; export anything you may need later.
6. **Confirm the result.** Check the exit code and resulting system or file state; successful-looking output alone is not enough.

## Choose the right path

- Run a foreground command for short tasks.
- Use a background process for servers and watchers.
- Open separate terminals for independent long-running processes.


## Confirm it worked

- Check the exit code and resulting system or file state; successful-looking output alone is not enough.
- The screen, command, file, run, or destination named in this guide reflects the expected state.
