Running up a hill, nearing muscle failure, fight or flight makes sense: whether, based on your body, your energy expended before muscle failure will result in a won fight or an escaped flight, makes the choice. If both result in death, I suppose you choose the best odds.