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

The shot was wide off the mark.

He poured a shot of whiskey.
different meanings