I've seen similar behavior with previous phone (Android 7) when the phone became cold, i.e. was in a bag or a car at around 0 °C for two hours or so. When I then tried to use it, it powered down immediately. I could then start it again, and it would work (possibly not when the battery becomes even colder, but in the cases I had, it worked). I haven't seen that with my Cosmo yet, but I think it hasn't become as cold yet, too.
Could that be your problem, too, or was it warm when it powered down? Lithium batteries don't like becoming too cold, the voltage will drop, and to the battery management system, it will seem as if the battery was empty.