Fetching details from the dictionary...

to resign; to retire; to quit; to leave (one's job, etc.)
彼は体調不良で会社を罷めた。
He quit the company due to poor health.
あと一年で仕事を罷めるつもりだ。
I plan to retire in another year.
兄は昨日職場を罷めることにした。
My brother decided to quit his job yesterday.