I just spent a few minutes trying it again and finally managed to get the boss down to around 66% health and suddenly it went to the cave and all the healths reset. I think the controls are only WASD and right click? I don't think I will be able to reach the ending...