Why do I lose control of ships to the AI mid battle?