You need to fight everyone to proceed.
Can't believe I didn't even think that this should be the obvious answer... T^T
Thank you so much for the help!
Well, I think I will add a notice that you need to fight everyone to proceed when the player tries to exit the screen. I doubt you are the only one who has this issue.