following the surrender he wasappointed to the national military academy atsaint-cyr , a compensation deemed proper by degaulle for the young hero of the underground.upon graduation he was elevated to the permanentrank of captain .