# pw sessions stop

> Source: https://parallelworks.com/docs/cli/pw/sessions/stop

## pw sessions stop

Stop and delete a session

### Synopsis

The **pw session stop** command stops a running session and deletes it.

The session name can be found using **pw session ls**.

```
pw sessions stop <session-name> [flags]
```

### Examples

```
  # Stop a desktop session
  pw session stop desktop_1771523513
  
  # Stop a tunnel session
  pw session stop tunnel_1771523513
```

### Options

```
  -h, --help   help for stop
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw sessions](/docs/cli/pw/sessions)	 - Manage sessions
