---
title: deactivate()
framework: phase
role: symbol
role_heading: Instance Method
path: phase/phasegrouppreset/deactivate()
---

# deactivate()

Reverts settings for the preset’s groups.

## Declaration

```swift
func deactivate()
```

## Discussion

Discussion When you call this function, the framework restores the group’s default state by removing the preset’s settings. The settings fade over the timeToReset duration, and the engine removes the preset from activeGroupPreset.

## See Also

### Deactivating a Group Preset

- [deactivate(timeToResetOverride:)](phase/phasegrouppreset/deactivate(timetoresetoverride:).md)
