# control.PaneOutput.shutdown

- **Module:** control.PaneOutput
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/control.rs#L1541
- **Page:** https://libtmux.org/en/rs/latest/reference/control-paneoutput-shutdown/

```
control.PaneOutput.shutdown(self) -> Result<(), Error>
```

End the connection and report how it went.

# Errors

Returns an error when the connection failed before it was closed.
