# LibTmux.TmuxOptions.UnsetAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Options/TmuxOptions.cs#L245
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxoptions-unsetasync/

```
LibTmux.TmuxOptions.UnsetAsync(request: UnsetOptionRequest, cancellationToken: CancellationToken) -> Task
```

Unsets one option, returning it to what it inherits.

## Parameters

- `request` (`UnsetOptionRequest`): Which option to unset, and how.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.

## Raises

- [`TmuxOptionException`](/en/csharp/latest/reference/libtmux-tmuxoptionexception/): tmux rejected the option name.
