Hi, if you run out of food while fighting the boss, the bot is programmed to escape and go bank for more food. If it didn't do that, it sounds like the bot either had an issue escaping the arena here, or there was some other issue causing it to take too much damage and die.
But I did just test...