Energy when friction acts

Work by friction or other nonconservative forces changes the system's mechanical energy, $\Delta K + \Delta U = W_{nc}$, turning it into internal energy that is not recovered.

From AP Physics C: Mechanics.