Are all religious leaders in office until they die, or can they retire?

I’m sure no Roman Catholic pope ever retired, but what about Anglican and Orthodox leaders, etc.