---
title: unload()
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaresystem/unload()
---

# unload()

Terminates all IO on all devices within the process and releases all resources capable of being released. This essentially returns the HAL to its uninitialized state.

## Declaration

```swift
func unload() throws
```
