The /cd command in Claude Code moves the running session to another directory without restarting, preserving conversation and context.