Closing the door without knowing that the cat is inside and the cat dying as a result

Q 2: A neighbor of ours went to visit one of her relatives outside our village. She gave my mother her house key to clean it during her absence. One week later my mother visited the concerned house to clean and review it. When she entered one of its rooms a cat entered as well while my mother was unaware of this. The concerned room did not have an exit. (Part No. 26; Page No. 185) Consequently, the concerned cat was unable to leave and my mother found it dead when she went to the house after two weeks to clean it again. Is my mother considered sinful for doing so or not? Provide me with your beneficial answer please. May Allah reward you with the best.

A: Your mother is hopefully not sinful as she closed the concerned room while being unaware that such a cat had entered it.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.