# pane.Pane.exitCopyMode

- **Module:** pane
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/pane.ts#L640
- **Page:** https://libtmux.org/en/ts/latest/reference/pane-pane-exitcopymode/

```
exitCopyMode(): Promise<void>
```

Leave this pane's copy mode.

## Examples

```ts
await pane.exitCopyMode();
```

## tmux command

The tmux commands behind `exitCopyMode`.

- [`send-keys`](/en/tmux/latest/manual/send-keys/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_send_keys_entry`](/en/tmux/latest/reference/c-variable-cmd_send_keys_entry/) (attribute)
- [`cmd_send_keys_exec`](/en/tmux/latest/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function)
