Read the following sentence:

The boat pitched violently before sinking.
Which of the following is the best meaning for the word “pitched?”

threw a ball
played a musical tone or key
tried to sell something
wobbled in a front-to-back motion