Role in the episode
Later, after spotting the rest of the cubs, who are looking for Louie, Whitehood appears again, which causes the cubs to run and climb on top of a pillar where Whitehood surrounds them and then uses the pillar to trap them in the treasure room with Louie as well.
In the treasure room, Whitehood enters and corners the cubs as he states that he's been feeding on trespassers for decades. When the cubs explain to him that they only came for the treasure since they don't consider all the jewels, diamonds, and gold coins lying around them as treasure and remain oblivious to the fact, Whitehood laughs at this and explains to them that the treasure is all that is around them; much to their disappointment since they had hoped that the treasure was actually everything and anything anyone ever wanted. Then, Whitehood makes them realize that "a treasure worth the whole jungle to one might be utterly worthless to another", that this is Man treasure, and it is Man he guards it from.
When it looks like the end of the cubs as Whitehood sets to eat them, a shrew (the one who told Kaa about the treasure in the first place) appears out of nowhere and begins to mock and tell him off. Try as much as he can to silence her, make her leave him alone, and probably eat her, the shrew continues on mocking Whitehood until she reveals to everyone that he is not as poisonous or as young as he used to be, which eventually leads to Whitehood finally and regretfully confessing to the cubs that his poison actually dried up long before their births, his fangs are "just a memory", and his defeat at the end. Thus, explaining the reason why Whitehood was "killing time rather than killing the cubs" the whole time.