I believe most transmissions need to have the engine running to pressurize the transmission clutch plates to have any effect on the propshaft or vice versa-i.e., engine ,off, keeping tranny in fwd or rev will not lock the shaft and will not turn the engine, so unless you have an independent shaft lock you might as well just keep it in neutral to minimize drag.
Some transmissions apparently can be harmed by free-wheeling over a certain speed as heat builds up but the engine RW pump is not cooling the tranny cooler, but I'd imagine your sailboat would be set up to handle this at hull speed. If that is not the case it would likely have a shaft lock I'd imagine. Also some propshaft dripless seals "might" not get proper cooling normally provided by the RW pump and wear over time.
Does your boat have a variable pitch or an auto-feathering sailboat prop?
Bruce , you might well be right but that's a hard concept to get my head around & around since the prop wants to turn REALLY BADLY.

Still, in the old war movies , when the bomber engine went out the props would lock into position as I recall. But then again , they had feathering props I think, so a locked prop at 0 pitch is likely optimum, yes??