Rotate the body to an upright position by retracting and repositioning the legs to lift the torso off the ground.