Being shot down and being a prisoner of war makes one no more qualified to be president than it makes someone who has had a heart attack to be a cardiac surgeon.
If the qualities of pilot skill and personal bravery in combat were critical criteria for being president, we would have Randall “Duke” Cunningham as president, who was arguably one of the top 50 or so combat pilots in US History.