---
title: "unmount(replyHandler:)"
framework: fskit
role: symbol
role_heading: Instance Method
path: "fskit/fsvolume/operations/unmount(replyhandler:)"
---

# unmount(replyHandler:)

Unmounts this volume.

## Declaration

```swift
func unmount(replyHandler reply: @escaping @Sendable () -> Void)
```

```swift
func unmount() async
```

## Parameters

- `reply`: A block or closure to indicate success or failure. If unmounting fails, pass an error as the one parameter to the reply handler. If unmounting succeeds, pass nil. For an async Swift implementation, there’s no reply handler; simply return normally.

## Discussion

Discussion Clear and flush all cached state in your implementation of this method.
