If you are a certified diver, there's no reason not to take SCUBA gear with you when you sail. You never [know] when you might need it.
I agree, and I have had SCUBA equipment aboard, including mask, fins, snorkel, wet suit, weight belt, tank, and regulator, for many years. However, the regulator is on a long hose so I do not have to "mount-up" to merely dive under the boat or near it in water < 25 ft of depth. The tank can stay in its "secure location" in a cockpit locker. A full back-pack with octopus regulator is a cumbersome piece of gear to stow on a sailboat if not used much. Nevertheless, that is what one would likely need to free an anchor in deep water. Alternatively, as I mentioned in a prior post, one could lengthen a regulator hose to, say, 50-75 ft and dive on the anchor after bringing the boat up short. But then there is the issue of diving alone which is strictly
verboten in the annals of safe diving on SCUBA. Doing so has led to more than a few deaths, a "recent" one of a few years ago being a friend of mine. But under the California "dive-buddy system" known as "same ocean--same day" diving when essentially alone, i.e., out of sight of a buddy in murky water, is common.