# control.PaneOutput.shutdown

- **Module:** control.PaneOutput
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control.rs#L1285
- **Page:** https://libtmux.org/reference/rs/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.
