retire gracefully

Translations
уйти в отставку с достоинством
He chose to retire gracefully rather than face a public scandal.
Он решил уйти в отставку с достоинством, а не столкнуться с общественным скандалом.
Definitions
To withdraw from one's professional career or occupation in a dignified and composed manner, often involving a smooth transition to a new phase of life, while maintaining a positive attitude and legacy.