Fuller context would make it easier. It is not a clear sentence at all. Where did you hear/read it?
It looks as if the captain is trying to say "You'll work up and down at pumping the water or I'll throw you overboard"
- For Teachers