Among the options available to her outside of what was worked out within the code that she was creating, there were not many other viable options available that would not result in her ultimate demise or continued suffering.
Even the two options themselves had many variables involved that could lead to further suffering or leave room for more reckless actions that would lead to her losing something important.
Ash could not choose from the first option available since she could not throw away what remained of herself that she had managed to barely hold onto through everything she had endured so far.
She did not wish to abandon such precious parts of herself that remained and she did not wish to be consumed by her thirst for power for the sake of her survival and getting her eventual revenge if that day did finally come.
Ash could not choose from the second available option either.