Typically it forces your leg muscles to contract as the current flows to ground and you literally kick yourself into the air.
Exact same thing happened to me as a child. I do not remember the event, but I do remember waking up on the other side of the room.