<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/DADiskUnmount(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Disk Arbitration"
    ],
    "preciseIdentifier" : "c:@F@DADiskUnmount"
  },
  "title" : "DADiskUnmount(_:_:_:_:)"
}
-->

# DADiskUnmount(_:_:_:_:)

Unmounts the volume at the specified disk object.

```
func DADiskUnmount(_ disk: DADisk, _ options: DADiskUnmountOptions, _ callback: DADiskUnmountCallback?, _ context: UnsafeMutableRawPointer?)
```

## Parameters

`disk`

The disk object.

`options`

The unmount options.

`callback`

The callback function to call once the unmount completes.

`context`

The user-defined context parameter to pass to the callback function.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)