# io.github.libtmux.Pane.Pane.exitMode

- **Module:** io.github.libtmux.Pane.Pane
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Pane.java#L240
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-pane-pane-exitmode/

```
io.github.libtmux.Pane.Pane.exitMode() -> void
```

Leaves whichever mode this pane is in.

tmux spells this {@code copy-mode -q}, which quits any mode and not only copy mode — a clock
and a chooser go the same way. The name is tmux's history rather than its behaviour, so it is
not the one exposed here.
