I feel like the correct response to that situation is to leave the shrine and come back when you’re more prepared, which was at least a central idea to Breath of the Wild. The game wanted to put you in impossible situations to force you to recognize that you can’t do everything immediately.