Buoys and Lights
There is an entire category of nautical vocabulary dedicated to keeping a ship in safe waters, and not aground or on the rocks. Resting upon or touching the sea bottom is referred to as a grounding, which is one of the worst outcomes for a ship, sometimes leaving a vessel high and dry until the tide comes in, or not able to continue at all.