Magic smoke is injected into electronic components at the factory, in order to make them work. If you let the smoke escape the package, your part has failed permanently. But as long as the smoke remains inside, there is still a chance you can repair any failure by cooling the part off for a while.
What's your source for the first part of this phrase?