Beaufort Fire Chief Tony Ray is preparing to retire after a career spanning more than four decades in the fire service, closing a chapter that town leaders say had a lasting impact on the department.