The first break in therapy it looks like the large leak had reduced for a few minutes prior to the shut off...so I don't think that large leak was the issue.
The second break in therapy...no large leak at all.
Check your power plugs. Make sure the one to the back of the machine is firmly seated...and do the same with the brick and the wall outlet.
The one to the machine sometimes works loose but reseat all of them and make sure they are snug.
Where did you get this machine...was it brand new?
It's not impossible for the power brick or power cord to go bad.
It's also not impossible for the machine to go bad but intermittent outages are most often related to the power supply...either loose or a bad power supply.