Missing adobe flash player should NOT cause your laptop to shut down.
Does the laptop play a movie DVD OK? no problem playing with DVD.
Does that same thing happen on AC power and battery power? same thing will happen on AC power and battery power
Does the laptop re-start by itself when it shuts down?
no I need to unplug the power and start the again.