# Stopping and restarting processes

Stop a process in its existing terminal before restarting it so you do not leave duplicate servers, workers, or watchers behind.

![Stopping and restarting processes](https://www.foxora.ai/docs/images/v5.0.8/reference/stage-terminal.webp)

*Studio interface in English. Sample data.*

## Steps

1. Select the terminal tab that owns the running process.
2. Send Ctrl+C and wait for the process to return to a shell prompt.
3. Check for a clean shutdown or release of the expected port.
4. Fix any configuration, then rerun the command in the same tab.

## Expected result

Only one intended process is running, and its new output starts from a known terminal state.

> **Note:** If Ctrl+C is ignored, inspect the process before using a stronger stop; closing the tab kills that shell and can discard useful output.
