[BUG] Claude Desktop on Mac does not exit on OS shutdown

Status Open
Maintainer reply None cached
Activity 12 comments · opened Feb 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

There was previously a bug where Claude desktop for Mac would not close properly - one was forced to quit using the tray icon. This bug was fixed. But one bug remains, and that is when shutting down the Mac, then Claude desktop does not quit and causes the Mac shutdown to stop/abort.

What Should Happen?

When shutting down the Mac then Claude desktop should quit automatically.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude desktop
  2. Shutdown Mac
  3. Observe that Claude desktop is not shut down
  4. Observe that Mac shutdown aborts with error message

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Latest Claude desktop version

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

12 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22392
  2. https://github.com/anthropics/claude-code/issues/16088
  3. https://github.com/anthropics/claude-code/issues/14951

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

steinrr · 6 months ago
Found 3 possible duplicate issues: 1. [[BUG] mac OS 26.2 shutdown failures #22392](https://github.com/anthropics/claude-code/issues/22392) 2. Claude Desktop hangs on quit (Cmd+Q) - requires force quit #16088 3. [[BUG] Claude Desktop macOS requires quitting twice (Cmd+Q → wait → system Dock pop-up menu Quit) #14951](https://github.com/anthropics/claude-code/issues/14951)

These are not duplicates. The issue is on OS shutdown - not when manually quitting Claude desktop.

froden · 5 months ago

<img width="523" height="204" alt="Image" src="https://github.com/user-attachments/assets/5a639300-23b4-4383-a481-c2cd3f80f7a3" />

Same issue here. It happens consitently.

argdealba · 5 months ago

Same thing here, every night I have to shutdown my MacBook twice because Claude prevents initial shutdown, it is annoying.

charleskoehl · 5 months ago

Same here:
OS: 15.7.4 (24G517)
Apple M1 Max

mnseonkim · 5 months ago

Same thing here 😭

steinrr · 5 months ago

@joan-anthropic

Hochiss · 5 months ago

same here!
I am really concerned, how could Claude even override macOS system level command?
reddit has also quite a lot complaints, saying Claude app leaving a lot hidden processes and caches until you deliberately found and delete them. cf.: https://www.reddit.com/r/ClaudeAI/comments/1pywh6g/claude_app_wont_quit_anywhere_that_its_installed/
The issue is still OPEN and hope Claude App programmer could react on these many reported issue.
it is about privacy and trust.
co:
@steinrr @charleskoehl @argdealba @mnseonkim

vccoffey · 5 months ago

Agreed. Please fix this

jjc62 · 4 months ago

Agreed. You have to quit Claude twice. Very annoying

andrew-davie · 4 months ago

I get this too. MacOS 26.3.1
M4 MacBook Air Model 16,12

If you select restart... from the Apple menu, nothing happens.
if you wait a fair while you get the dialog shown above

If you don't wait and instead select restart... again, the system DOES restart.

Definite bug!

mechobliterate · 4 months ago

Same issue seems to persist with me. Would love if this is resolved in a new update! @nate-parrott.

However, after further investigation—a solution that was found was by cleaning the app's native cache from your Terminal.

pkill -f "claude-code"
rm -rf /tmp/claude-code-*
rm -rf ~/Library/Application\ Support/claude-code
rm -rf ~/Library/Caches/claude-code
rm -rf ~/Library/Logs/claude-code
rm -rf ~/.config/claude-code
rm -rf ~/.cache/claude-code
npm cache clean --force