Seppuku
Because seppuku was an honorable act, a warrior who was caught by the enemy was sometimes given the choice between seppuku and being executed. If he chose seppuku, he could protect his honor. Samurai women had to ask for permission to commit seppuku.