Can you please help me understand what the meaning of the highlighted sentence mean? It is part of a travel diary. I am leaving the whole paragraph here so that you can get the big picture.
Altered course so I would get as far upwind from the squall as I could. But bashing into 25 knots makes it 30 knots so I had a pretty wild ride for about an hour. At its closest point I had lightening about a mile away while going through a squall. At 3-something this morning I was able to get back on course and go back to sleep. Over the night I passed about ten ships.