A phrase originating from children doing dangerous, fun things with no hands who wanted to draw the attention of their mothers, who would promptly yell, "Get down from there!" or some other thing that meant "cut it out!". Today it is a catch-phrase that still carries the basic meaning, but can be said to people other than one's mother, and is used by adults who are doing dangerous, fun things.