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

The horse will run the Preakness next year.

I'm not ready to run a marathon.
the same meaning