How do I reset the computer if it's not responding?
Press and hold the power button on the computer for at least 5 seconds or disconnect the computer from external power and remove the battery in case of a non-responsive situation.
From the official HP 240 G4 Notebook PC manual, page 11
Have a follow-up question?
Answers from the official manual.
Common questions