Learned something new. Leaving this macbook in the sun for a few min will turn it off and even when i cooled it in fridge for a couple of minutes it still wouldn't power on until i plugged it in and held down power button.
your laptop saved its own life by shutting itself down. you should thank it next time you use it
and it didn't turn on afterwards because the temp was still too hot. The computer was well over 100 degrees when you put it in the fridge, the short time didn't help anything besides making the aluminum really cold. Should just leave it in room temp away from light for 15 or 30 minutes and allow it to cool down slowly.