To resign, or leave, with one's credibility or reputation still intact.
Practice speaking and memorizing "bow out" and many other words and sentences in English.