The energy is dissipated in the form of heat. The heat energy so produced is not available for work.