〜てしまう
Doing something completely, so that it's over; or something that happened when it shouldn't have.
Make a card in yomerooverb て-formしまう is "finish", "put away" (しまう on its own is to put something away). After a て-form it says the act is done and over, and often adds a feeling about that: that it can't be undone, or shouldn't have happened. In speech it is ちゃう (see 〜ちゃう, 〜ちゃ).
Usage 1: done and over
Often it marks a change that is complete, as when two men who wouldn't speak at first became close friends:
The young man leaves, and is gone:
「なにをいわれますか。どうして私とあなたとが敵どうしでしょう。私の敵は、ほかになければなりません。戦争はずっと北の方で開かれています。私は、そこへいって戦います。」と、青年はいい残して、去ってしまいました。
野ばら · 小川未明
+ cardAt the end of the story it is final, and sad: the wild rose died.
The mother fox's legs freeze, against her will:
Usage 2: by mistake
When the act is something one didn't mean to do, てしまう is "went and did", "accidentally": the child fox, dazzled, puts in the wrong hand.
電車に傘を忘れてしまった。
ケーキを全部食べてしまった。