Your question is a bit vague, but i will try to do my best to give you some answers.
The short answer would be, yes it happened. One of the most influential Roman Emperors, Diocletian retired. He had build a palace on the Dalmatian coast, this would eventually grow into the city Split. He lives another 6 and a halve years and would spend a lot of his time tending his vegetable garden.
The next Roman Emperor to retire would be John VI, one of the later emperors of what is by most people called the Byzantine Empire. He retired at age 62 to a monastery in Greece and became a monk. He would live another 28 or 29 years and in that time would almost have been send as a representative to a council that would have reunited Orthodox and Roman catholic Christianity.
Then of course there is Charles V, one of the most important men in European early modern history. Emperor of the Holy Roman Empire. King of Modern Spain, Portugal, Southern Italy. Archduke of Austria, Lord of the Netherlands and ruler of most of south America. He spend most of his reign travelling around his vast territories. Travelling in the that time was a hard life, and it took a tremendous toll on Charles. Combined with the constant strife within his Empire, the religious turmoil and the princes trying to stop his centralising reforms. He also had gout and other afflictions that came with being a Habsburger. This all led to that in 1556 at age 54, we know a half broken men supported by a young William of Orange walking into the court at Brussels to abdicate his throne. His lands were split between his brother and his son. Charles himself retired to a monastery, where he died only 4 years later.
There are of course many other examples, but these are some of the more famous.
Sorry, we don't allow throughout history questions. These tend to produce threads which are collections of trivia, not the in-depth discussions about a particular topic we're looking for. If you have a specific question about a historical event or period or person, please feel free to re-compose your question and submit it again. Alternatively, questions of this type can be directed to more appropriate subreddits, such as /r/history or /r/askhistory.