Why is a retired police officer allowed to carry a gun still?

I heard a retired police officer is allowed to carry a gun. Why is that? How is that possible? Is it true the only time police officer has to hand in his or her gun and badge is if they get terminated but not quit?
25 answers 25