---
title: cancel()
framework: network
role: symbol
role_heading: Instance Method
path: network/nwethernetchannel/cancel()
---

# cancel()

Unregisters the channel from the interface.

## Declaration

```swift
final func cancel()
```

## See Also

### Managing Ethernet Channels

- [init(on:etherType:)](network/nwethernetchannel/init(on:ethertype:).md)
- [start(queue:)](network/nwethernetchannel/start(queue:).md)
