People were plunged into the water after a gangway at the dock collapsed.