If by claude-code you mean Claude Desktop (/Applications/Claude.app) and its Code mode, you can reset it to essentially a first-run state without uninstalling the app. Current Claude Desktop uses bundle ID com.anthropic.claudefordesktop, and its Code/VM/session data lives primarily under ~/Library/Application Support/Claude/. ([GitHub][1])
Quit Claude first, then run:
osascript -e 'quit app "Claude"' 2>/dev/null || true