The best known example involved Pope Celestine V in 1294. After only five months as the Bishop of Rome, he issued a solemn decree declaring it possible that a pope can resign and then promptly did so. He then lived the rest of his days as a hermit and was later canonised.
More on the Pope later . . .