# tmux.CopyModeRequest.Cancel

- **Module:** tmux.CopyModeRequest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/pane_modes.go#L36
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-copymoderequest-cancel/

Cancel exits copy mode and any other active pane mode after tmux resolves the receiver and optional SourcePane. A resolution failure prevents the reset; after successful resolution, tmux ignores the other action fields.
