Vegging-Flowering-Vegging-Flowering

You should be fine if it was just the one time. Not something you want to happen regularly as it can be a stressor.