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

# orphelix stop

> Stop Orphelix application

# orphelix stop

Stop the running Orphelix application and notification worker.

## Usage

```bash theme={null}
orphelix stop [options]
```

## Options

| Option | Alias | Description | Default |
| - | - | - | - |
| `--name` | `-n` | Instance name to stop | `orphelix` |

## Examples

### Stop Default Instance

```bash theme={null}
orphelix stop
```

Stops both:

* `orphelix` (main application)
* `orphelix-notifications` (notification worker)

### Stop Named Instance

```bash theme={null}
orphelix stop --name prod
```

Stops:

* `orphelix-prod`
* `orphelix-prod-notifications`

## What Happens

1. Sends stop signal to pm2 process
2. Gracefully shuts down Next.js server
3. Stops notification worker
4. Process remains in pm2 list (status: `stopped`)

## Output

```bash theme={null}
$ orphelix stop

🛑 Stopping Orphelix...
[PM2] Applying action stopProcessId on app [orphelix](ids: [ 0 ])
[PM2] [orphelix](0) ✓
🔔 Notification worker stopped
✅ Orphelix stopped
```

## Related Commands

* [start](https://orphelix.mintlify.site/cli/commands/start.md) - Start the application
* [restart](https://orphelix.mintlify.site/cli/commands/restart.md) - Restart the application
* [delete](https://orphelix.mintlify.site/cli/commands/delete.md) - Remove from pm2
* [status](https://orphelix.mintlify.site/cli/commands/status.md) - Check status


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.