On the Dell Logo Screen, keep pressing the F12 key.Run hardware diagnostics by following the steps below. Tap at the Dell logo until it says ‘Advanced Boot Options’.Try moving it around to watch if it shuts down. Try working with the system in ‘Safe Mode’. Laptops sometimes just strip down and rebuild and the problem goes away without you knowing what the problem was, which is a pain because you need to know so you can fix it the next time. If your laptop has a drop sensor, it could be malfunctioning. The first thing to look at is a faulty AC or battery, loose connection, or some kind of power management mode (if on battery shutdown). What causes the laptop to turn off when moved? Why is my HP laptop overheating and shutting down?.Why does my HP laptop keep shutting off?.What causes the laptop to turn off when moved?.