Are you saying an officer can’t resign his commission?
As I understand it he can resign his commission but cannot get away from it by retiring. If he resigns his commission he loses his retirement pay and benefits.