Is run used to mean the same thing in the next two sentences?

Run riot.

We ran the ad three times.
different meanings