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

The opponent refused to strike.

In the fifth inning, the Giants struck, sending three runners home to win the game 5 to 2.
different meanings