Fetching details from the dictionary...
to commit seppuku; to commit harakiri
to take responsibility (and resign)