The work done during hammering gets converted into heat energy. Due to this> its internal energy increases. .