---
title: stop()
framework: matter
role: symbol
role_heading: Instance Method
path: matter/mtrcommissioningoperation/stop()
---

# stop()

Stop commissioning.  This will typically result in commissioning:failedWithError: callbacks to delegates.

## Declaration

```swift
func stop() -> Bool
```

## Discussion

Discussion Returns YES if this commissioning was still in-progress and has now been stopped; returns NO if this commissioning wasn’t in-progress. Note that this can return NO while there are still pending async calls to delegate callbacks for the end of the commissioning.
