Fetching details from the dictionary...

management; dealing with; settlement; cleaning up; disposal
course of events; circumstances; particulars
end result (usu. bad); outcome
economizing; economising; frugality; being thrifty
事故の仕末を任されて徹夜で対応した。
I was entrusted with handling the aftermath of the accident and worked through the night.
部下の失敗の仕末をするのは上司の役目だ。
It is the supervisor's role to deal with subordinates' mistakes.
自分で始めたことは自分で仕末をつけるべきだ。
You should clean up after what you started yourself.