Your fleets can be recalled from the middle of a battle. Be aware though, this will cause every ship in the fleet to take a blanket 10% of max health damage. If any individual ships happen to have less than 10% health remaining, they will be destroyed when retreating, and will not drop any debris.