When one is in a hurry or is rushed. “Shake a Peter” also can be used as Peter shakin’ when one is bored.
“Shake a Peter boys, we’re late!”