An officer continuing to hold the grade of general or admiral under
section 601(b)(5) of this title after relief from the position of Chairman of the Joint Chiefs of Staff, Chief of Staff of the Army, Chief of Naval Operations, Chief of Staff of the Air Force, Commandant of the Marine Corps, or Chief of Space Operations shall not be counted for purposes of this section.