Does "take" mean the same thing in these two sentences?

Take an opportunity.

The escaped convict took to the hills.
different meanings