In addition to making sure the lights are turned OFF....go ahead and UNPLUG them completely...to minimize any risk of electrical shock to either of you while you try and get him out of there.
And consider this a bargain of a lesson...he CAN get to those exposed lights and could have been severely burned. Time to find another way to heat the enclosure, as has already been said.