What happen to internal energy in non stable equilibrium state in engineering thermodynamics?

energy increases or decreases until a stable or quasi-stable state is reached