---
title: cancel
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsapplication/modalresponse/cancel
---

# cancel

The presentation or dismissal of the sheet has been canceled.

## Declaration

```swift
static var cancel: NSApplication.ModalResponse { get }
```

## See Also

### Responses

- [OK](appkit/nsapplication/modalresponse/ok.md)
- [continue](appkit/nsapplication/modalresponse/continue.md)
- [stop](appkit/nsapplication/modalresponse/stop.md)
- [abort](appkit/nsapplication/modalresponse/abort.md)
- [alertFirstButtonReturn](appkit/nsapplication/modalresponse/alertfirstbuttonreturn.md)
- [alertSecondButtonReturn](appkit/nsapplication/modalresponse/alertsecondbuttonreturn.md)
- [alertThirdButtonReturn](appkit/nsapplication/modalresponse/alertthirdbuttonreturn.md)
