Currently, the stamina system will take away two stocks for dying (if you reach 0 HP). If this happens to bring you to zero stocks, the game will not end.