# We took such a violent battering by the storm
"The wind blew us so roughly back and forth that all of us were badly battered and bruised by the storm"
# they began throwing the cargo overboard
The word "they" refers to the sailors. This is done to lighten the weight of the ship in an effort to prevent the ship from sinking.