The imagery used in the sentence suggests that although Sky is exhausted (or in pain), he is regaining control (or calming down).
These interpretations fit with the description of him scrambling away, struggling to breathe, and then gradually calming his body.