Did she die or was that her act?
Not yet. This is a reminder to glorify God and acknowledge Him in all of your ways.
Daniel 5:23
And you have lifted yourself up against the Lord of heaven. They have brought the vessels of His house before you, and you and your lords, your wives and your concubines, have drunk wine from them. And you have praised the gods of silver and gold, bronze and iron, wood and stone, which do not see or hear or know; and the God who
holds your
breath in His hand and owns all your ways, you have not glorified.
---------------
We are surrounded by unseen spiritual beings, angels of God all the time. Here is another story from the scripture
20 And God came to Balaam at night and said to him, “If the men come to call you, rise
and go with them; but only the word which I speak to you—that you shall do.” 21 So Balaam rose in the morning, saddled his donkey, and went with the princes of Moab.
Balaam, the Donkey, and the Angel
22 Then God’s anger was aroused because he went, and the Angel of the Lord took His stand in the way as an adversary against him. And he was riding on his donkey, and his two servants
were with him. 23 Now the donkey saw the Angel of the Lord standing in the way with His drawn sword in His hand, and the donkey turned aside out of the way and went into the field. So Balaam struck the donkey to turn her back onto the road. 24 Then the Angel of the Lord stood in a narrow path between the vineyards,
with a wall on this side and a wall on that side. 25 And when the donkey saw the Angel of the Lord, she pushed herself against the wall and crushed Balaam’s foot against the wall; so he struck her again. 26 Then the Angel of the Lord went further, and stood in a narrow place where there
was no way to turn either to the right hand or to the left. 27 And when the donkey saw the Angel of the Lord, she lay down under Balaam; so Balaam’s anger was aroused, and he struck the donkey with his staff.