anneal
To heat metal or glass and let it cool slowly so that it loses internal stress and becomes less brittle. By extension, to strengthen someone through hardship, or, in biology, for separated strands of DNA or RNA to pair up again.
Tell
slow cooling relieves inner stress
Best when
You mean controlled heating and slow cooling that leaves a material stable, or you want that image for a person or system that has been through trials and come out steadier.
Example
“The glassblower annealed the vase overnight.”