The airline said the crew detected a mechanical issue shortly after takeoff.