# On macOS how to exit the racket executable

**URL:** https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936
**Category:** Questions & Answers
**Tags:** question
**Created:** [September 7, 2025, 3:09pm UTC](https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936 "2025-09-07T15:09:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![racket.raider](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@racket.raider](https://racket.discourse.group/u/racket.raider)
#### Post date: [September 7, 2025, 3:09pm UTC](https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936/1 "2025-09-07T15:09:01Z")

</div>

On macOS using Emacs, how do I exit the racket executable launched by `empty-scene` without killing the REPL or force quitting the executable and cause the `{racket-back-end-/} exited abnormally with code 1`. Closing the window, just closes the window and not active process.

---

<div class="post-metadata">

### Author: ![benknoble](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/benknoble/32/16_2.png) [@benknoble](https://racket.discourse.group/u/benknoble)
#### Post date: [September 7, 2025, 7:32pm UTC](https://racket.discourse.group/t/on-macos-how-to-exit-the-racket-executable/3936/2 "2025-09-07T19:32:41Z")

</div>

Does Command+Q or AppName \> Quit (in the menu) work? You can typically also right-click on the app in the dock.
