<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -",
    "macOS: 26.2.0 -",
    "tvOS: 26.2.0 -",
    "visionOS: 26.2.0 -",
    "watchOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Matter",
  "identifier" : "/documentation/Matter/MTRCommissioningOperation/stop()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Matter"
    ],
    "preciseIdentifier" : "c:objc(cs)MTRCommissioningOperation(im)stop"
  },
  "title" : "stop()"
}
-->

# stop()

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

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

## 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.

---

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)