expression
the end of the line; the end of the road; curtains
Idiomatic expression meaning that a situation has reached its final, often disastrous, conclusion; similar to 'it's all over' or 'game over'.
彼が辞めたら、このプロジェクトは一巻の終わりだ。
If he quits, it's the end of the line for this project.
資金が尽きて
When the funds ran out, it was curtains for the company.