What happens to energy stored in inductor when it is discharged after
it reaches steady state
An ideal inductor (zero resistance) that is discharged by a zero resistance path (a short circuit) will maintain the energy in the inductor until the end of time. Of course, this means that the inductor current continues to flow and, does not change value from the charge current acquired at the point when discharging occurs.
For a real-world inductor with non-zero series resistance, the continuous flow of a discharge current means \$I^2R\$ losses and, this reduces the initial energy stored until it depletes to zero (and zero current).