Barges are generally held in place with an anchor, as with any other ship. However, some barges, known as spud barges, use a steel shaft to anchor themselves to the bed, making them the most stable type of barge.