IDIOMS

bow out

(idiomatic) To resign, or leave, with one's credibility still intact.

Example:   Jane had a long spell as chairman, but bowed out after she had a child.