`.. as i moved the laptop to sit on the bed ..`
Did you have the bottom of the laptop on the bed? If so you may well have blocked the cooling fan and caused overheating.
When it cut out after was there any chance the cooling fan was blocked?
Surface Pro 5 News - release date, UK price, features, specs
Gear VR vs. Daydream: Which delivers the best VR experience?
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.