It seems to be a random bug. It especially seemed to happen when I was on Chrome v60.

Thankfully Kamihime Project is really good at resuming battles. At worst, you only lose your debuffs or your MvP status in multiplayer content.