Ship's Captains aren't a permanent fixture, they are replaced regularly (every two or three years on average) as they move up the promotion ladder. Probably just his time to move on... and bring his experience to the planning of future carrier operations.