when the waves began to tumble and toss and to grow bigger and bigger the ship rolled up and down , and tipped sidewise -- first one way and then the other -- and was jostled around so roughly that even the sailor-men had to hold fast to the ropes and railings to keep themselves from being swept away by the wind or pitched headlong into the sea .