Question New PC Overheated

Apr 10, 2022
So I built a new pc yesterday, when finished, I went to boot it up for the first time and it turned out my aio pump wasn’t plugged in all the way and on the monitor it flashed “cpu overheating” before trying to boot, I turned it off within 5 seconds after that, it didn’t shut itself down. I plugged in the pump and turned it back on and everything has seemed to be fine since. My question being, is this something I should be worried about? Shorter lifespan, or less performance over its lifespan due to it overheating once, or is it possible it wasn’t for long enough or hot enough to cause any damage?
The system is a Ryzen 9 5950x on an MSI x570 cooled by an Arctic Liquid Freezer II 280. Since the incident I’ve got the pc on and working and the idle temps seem good, 28-32 celcius, but I haven’t had the chance to push the CPU yet and see how hot it gets. Thank you very much for your reply in advance.