What happens if the battery pack is unplugged accidentally on the Vision Pro

While using Vision Pro, there could be a situation where the battery pack is yanked from the device by a door handle or just a wave of the arm, what happens in those situations, does the Vision Pro just turn off instantly or is there some sort of back up. I am curious, because when building productivity apps like Word, whether data would be lost. If there is a backup, is there a notification that developers can use to react and save current state and other data?

Post not yet marked as solved Up vote post of TeddyWon Down vote post of TeddyWon
1.3k views