---
title: "alpacon websh close"
description: "Close an active Websh terminal session by its session ID. Disconnect its connected clients and finish the session when interactive server work is done."
---

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

# alpacon websh close

Close an active Websh session.

## Usage

`alpacon websh close SESSION_ID [flags]`

## Key facts

- Use the session ID from `alpacon websh ls`.
- Closing the session disconnects its connected clients.

## 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 close 550e8400-e29b-41d4-a716-446655440000
```

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