---
title: "alpacon websh force-close"
description: "Force close a Websh session regardless of its current state. Superusers can terminate a session immediately by ID when a normal close is not sufficient."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon websh force-close

Force a Websh session to close, regardless of its current state.

## Usage

`alpacon websh force-close SESSION_ID [flags]`

## Key facts

- Superuser privileges are required.
- Use the session ID as `SESSION_ID`.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Run the command

```bash
alpacon websh force-close 550e8400-e29b-41d4-a716-446655440000
```

Source: https://docs.alpacax.com/reference/cli/websh/force-close/
