A respected and long-serving senior police officer has made a huge announcement after four decades in the job.