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

Pull a horse.

You'll be sent home if you pull another stunt like that.
different meanings