Remove iCloud Photos from Mac only?
You can turn off iCloud Photo Library on your Mac by following the steps in this Apple support doc: https://support.apple.com/en-us/HT204570.  I always backup my photos first, just in case I make a mistake.  If this is an option for you then I recommend doing the backup before you make any changes.


On your Mac, go to System Preferences &gt; iCloud &gt; Options next to Photos
Deselect iCloud Photo Library


This will stop photos from syncing to your Mac.  As you've seen, do not select Disable and Delete from this same menu as it will delete your photos from every device.