It has already happened here, during the last 41,ooo years. Try reading The Cycle of Cosmic Catastrophes.
Talk about sleepless nights...
There was a documentary put out by the Science Channel, I believe it was called,
The History of the Earth that spoke about such an event. It also was the first time I saw information about the "Snow ball Earth," which describe the Earth with the oceans frozen to 1/2 mile deep within 30 degrees of the equator, and layer of ice over most of its land surface. This was due to insufficient CO2 in the atmosphere. I would rather have too much CO2 than a spiraling cycle that took the Earth to a refrigerative state.
These two scenarios, one of a lethal Gama ray burst, and the other, with a lack of CO2 to offset the sun in a cooling cycle, are doomsday scenarios. In one way we get microwaved. In another, we get frozen. The Chicken Littles would love that. TV dinners anyone?