Literary, more dramatic than ordinary
退休 (tuìxiū, 'to retire from work').
退隐 carries a Daoist hermit overtone — withdrawing not just from a job but from the world. The classical collocation
退隐山林 ('to retire into the mountains') is the textbook example, and modern entertainment news uses it for celebrities who quit the spotlight.