To disable Remote Management on your Mac using the Terminal, you can follow the below two steps.
Step 1: Run the command to Disable Remote Management
Open Terminal and run the below command,
% sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop
Password:
Starting...
Removed preference to start ARD after reboot.
Done.

Step 2: Restart your Mac
To apply the changes you will need to restart your Mac device
If you later wish to activate it again, run the below command in Terminal.
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate
This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.
Please support independent contributors like Code2care by donating a coffee.
Buy me a coffee!

Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!