To stir something from side to side wildly to mix it throughly.
To shake someone or something up to make him/her confused or chaotic.
To move one's arms back and forth or shake one's head wildly.