# 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/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Pane.java#L208
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-pane-pane-exitmode/

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

Leaves whichever mode this pane is in.

<p>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.
