CPU mining is obsolete for long. It is high time people understand it and move over to cloud mining rather than wasting their resource...
The OP might have been mining a CPU alt. At least I sure hope he was otherwise that's a chunk of electricity down the drain.
Mining is very intensive on all aspects of hardware and laptops especially aren't designed for continuous usage in the way a dedicated miner is. The processor runs hard and a lot more heat than usual is generated. Even if it doesn't shut itself down, mining makes it operate in a way it's not designed for.