A beloved stretch of Cornwall coastline has been saved forever, thanks to a vicar who walked there in his final years.