Personally, I think the only people that keep their rank are those that have an inflated ego and cant let go.
Exactly the same with doctors, once you longer treat patients you are not a doctor. No different to someone who used to be a teacher, dustbin man, policeman, florist or any other occupation.
I have never understood it... You don't hear of ex VPs being called Mr President....