What is the meaning of Hold_fast?

To stubbornly resist assault, pressure or opposition, either physically or mentally.

A formal command to a ship's crew to grasp and hold on to a solid fitting, such as ropes or rails, to avoid being swept overboard, especially during a storm.

Source: wiktionary.org