Switched to P when driving automatic transmission

Hello I made a mistake yesterday evening. I got into the lightning ice at about 40km/h in the city and could no longer brake and had no control over my omi. I panicked I put my gearbox on P, it sounded terrible. That was maybe only 3 seconds. Now to my question….. Can it be that it has carried damage from it? Then it went on quite normally, without noises or any other.