They actually CAN gage temperature, just not as quickly as a mammal.
That temp should not have done serious damage to your snake, but should is the operative word.
Going into a shed would also account for its behavior.
Patience and attention to your snake is all I can recommend. If it starts head wobbling or turning over or just not acting right, you may well have neurological damage which is pretty much permanent but not necessarily life threatening.