What will happen if ammonium chloride is heated very strongly in a closed container and the products formed are cooled

Assuming the volume of the sealed container is large enough the NH4Cl will decompose to NH3 and HCl upon heating. On cooling, the products will recombine to form NH4Cl and be deposited as NH4Cl solid, probably on the walls of the container.