<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterControlProvider/stop(reason:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension26NEURLFilterControlProviderP4stop6reasonySo20NEProviderStopReasonV_tYaKF"
  },
  "title" : "stop(reason:)"
}
-->

# stop(reason:)

Prepares the filter to stop, in response to a call from the framework.

```
func stop(reason: NEProviderStopReason) async throws
```

## Parameters

`reason`

An [`NEProviderStopReason`](/documentation/NetworkExtension/NEProviderStopReason) that indicates why the framework is stopping the filter.

## Discussion

Override this method in your conformance to [`NEURLFilterControlProvider`](/documentation/NetworkExtension/NEURLFilterControlProvider) and perform whatever steps are necessary to prepare for the URL filter stopping.

---

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)