Ran into an unusual issue where a battle did not end upon all enemy ships retreating (to my knowledge).
I'm running a mod collection including Scy Nation, and in a fight including an enemy Keto siege carrier, I think I managed to destroy it at the exact same time as it retreated from the battlefield, the notifications of the ship being destroyed and retreating happened simultaneously. After destroying all other ships on the field, I looked for any other enemy ships but found nothing, and there was no indication that the enemy ships were in retreat and I could not finish the battle without ordering a full retreat myself.
Upon ordering a full retreat, I checked the after-battle report and it says that the Keto siege carrier had retreated from the engagement and was not destroyed. I'm not sure if this is an issue related specifically to the mod or the unusual interaction of destroying a ship as it retreats.
Apologies for not getting pictures of the event but this just happened a few moments ago, using to my knowledge the latest builds of both Starsector and the Scy Nation mod.