Is beat used to mean the same thing in the next two sentences?

The boat beat in the strong wind.

The sun was beating down on us.
different meanings