I just had to answer my fellow "expert"/ question "responder", going to 12/12 for a few days will not cause your plant to turn hermaphrodite or any other such nonsense, but will allow your plant to recover a bit before going back to 18/6.
Besides, the condition she is now in, is more likely to cause any problems with sexual expression, than a few days with lessened light.
She needs some tender loving care right now, not the continued high energy activity that flowering is. Talking about diminished yields in regard to this plant is a moot point, she is already suffering and 5-10 days under 12/12 will not effect yield greatly - maybe one gram, if that.
The most important thing to achieve first, is to get her up and running again. 12/12 could provide for a much gentler transition into recovery and could be likened to your plant being in the Intensive Care Unit. At this stage, still aiming for maximum yield should take a back seat to restoring health, as the first priority. I am (personally) afraid that continuing in this condition at 18/6, might over tax an already over taxed plant.
Starting again is another option for you, recovery may or may not be successful, however, a diminished yield, whatever you do (12/12 or 18/6) is no doubt, a guaranteed outcome. I am sure you have already learned about light height and will be aware of this next grow.
Once again, hope this helps,..... Organoman