Although I wasn't an officer (and,therefore,am uncertain of this) I don't think this applies with officers who resign their commission.
You are correct.
My post concerned those who had completed their careers in the regular services. Not only do they retain their commissions. But those commissions are for life.
Those who have resigned their commissions have not completed an armed forces career. Though they have served honorably, they are no longer in the service.