I've heard that really quickly cooling a hot pan is bad and reduces the lifetime of the pan. I'm wondering, from a chemical perspective, why this would be true. My thought is that as a pan is heated up, there may be slight rearrangements in the lattice of the metal, which, if allowed to cool, would likely reset into the correct portion of the lattice. On the other hand, if quickly cooled, perhaps these atoms don't make it back into the correct place, and this warps the pan.
As a secondary question to this idea of warping a pan, why would reheating the pan not cause it to return to the original shape? Seemingly, that original shape is a lower energy structure of the lattice, so with enough energy to overcome barriers, why would it not "unwarp"?