Fetching details from the dictionary...
seppuku; harakiri; ritual suicide by disembowelment
seppuku as a death penalty (where the convict is decapitated by a second as they make the motions to disembowel themself; Edo period)
武士は潔く切腹した。
The samurai honorably committed seppuku.
彼は主君の敗北後、切腹を命じられた。
After his lord's defeat, he was ordered to commit seppuku.
この失策では切腹するしかない。
With this blunder, there's no choice but to commit figurative seppuku.