The holder may affirm the sale during the agreed option period. Once the option is validly waived by affirmation, it cannot simply be reused to reverse the deal.
Similarly, a right restricted to a fixed period does not continue indefinitely after that period expires.
But the ending of khiyar al-shart does not automatically extinguish a separate remedy for a hidden defect; different remedies arise for different reasons.