A person who elects retirement shall not be demoted, but shall retain the rank of chief of police or other chief law enforcement officer and shall be given terminal leave for a period of one month for each five-year period of past service as a law enforcement officer with a participating local unit. During the terminal leave, the person shall continue to receive full compensation and shall be entitled to all benefits, including any increases in compensation or benefits, that he may have been entitled to if he had remained on active duty.
N.J.S. § 40A:65-8