IMO it's pretty simple and straight forward to not defend resources with galleys from marauding destroyers using sea patrol.
Frankly I find the need to move a ship 1 tile away from a resource to be counter-intuitive, especially when that action is call Sea Patrol. That conjures images in my mind of a unit actually moving around.