> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ultra.security/llms.txt
> Use this file to discover all available pages before exploring further.

# ultra uninstall

> Remove Ultra for the current user

Remove Ultra's agent configuration, credentials, state, and managed runtime for the current user.

This is scoped to the user who runs it. It does not remove Ultra for other users on the machine.

## Usage

```bash theme={null}
ultra uninstall [flags]
```

## Flags

| Flag                   | Short | Default | Description                                             |
| ---------------------- | ----- | ------- | ------------------------------------------------------- |
| `--yes`                | `-y`  | `false` | Skip confirmation prompt                                |
| `--restore-connectors` |       | `false` | Restore missing direct connectors from existing backups |

## Examples

```bash theme={null}
# Uninstall interactively (with confirmation)
ultra uninstall

# Uninstall without confirmation
ultra uninstall --yes

# Put direct connectors back into your agent config before removing Ultra
ultra uninstall --restore-connectors
```

## What Happens

1. Stops any running Ultra process
2. Removes Ultra from each agent configuration it manages
3. Optionally restores direct connectors, if `--restore-connectors` is set
4. Removes user data, including credentials and local state
5. Reports each step as it goes, naming the agent and config path it touched

## Direct Connectors

When Ultra is installed it takes over your agent's connector configuration, keeping a timestamped backup first.

Uninstalling does **not** put those direct connectors back by default. Your agents will simply have no connectors configured. Pass `--restore-connectors` to merge the missing ones from the newest readable backup before Ultra is removed.

Existing backups are retained either way, so you can restore them by hand later.

<Note>
  **Windows.** Uninstalling the Ultra MSI from Apps settings runs this cleanup and then removes the executable and the PATH entry. Running `ultra uninstall` directly performs the cleanup but leaves the MSI-managed binary in place.
</Note>

## Reinstalling

See [Install Ultra](/installation/install-ultra) to set Ultra up again. A fresh install starts from a clean configuration, so you will need to add your connectors and link the device again.
