てしまっていた
Did by accident / finished
JLPT
N4
Estrutura
V-て + しまう
Explicar
Describes an action that has been completed at a certain point in the past. Also possible to use 「...ていた」, but if using 「...てしまっていた」, it emphasizes the idea of "completely finished" and adds a nuance of "something that has happened and cannot be changed".
Exemplo
山田
さんが
電話
した
時
に
、
社長
はもう
会社
を
出
てしまっていた
。
When Mr. Yamada called, the president had already left the company.
彼
が
着
いたたときに
、
彼女
の
乗
った
船
は
港
を
離
れてしまった
。
When he arrived, the ship she was on had left the port.
