is my cpu damaged?

I did something stupid and while my cpu cooler wasn’t working I still booted up my pc to check temps and no surprise, my ryzen 7 7700x was reaching over 114 celcius, few seconds after checking, my pc shut itself down and I unplugged the power cable and switched my psu off. I’m just wondering if my cpu shut off my pc before any damages, I’m personally not able to check myself because my new cooler comes in a week but it’s a question I’ve been asking myself.