Is the word "throw" used in the same way in the following two sentences?

The horse threw its rider.

Throw a glance.
different meanings