When the misconduct came to light, he was dismissed from his post.
幕府の役人だったが、失脚してお役御免になった。
He was a shogunate official, but fell from power and was relieved of his duties.
discarding; throwing away; becoming useless
Extended figurative use: something or someone is discarded as no longer needed or useful. Often carries a nuance of being cast aside.
古いパソコンはもうお役御免だ。
The old computer has outlived its usefulness.
その企画はお役御免になって、新しい案が採用された。
That project was scrapped and a new proposal was adopted.