From my experience when a plant starts to re-veg, i check to see if i have any light leakage at night or even a light indicator on a power strip is on i make sure to tape it up. So after checking for light leakage the only thing you can do is keep it the grow lights on a 12/12 cycle and wait for it to kick back into gear into budding again, which is a pain because it can take it up to 3 or 4 weeks or if your lucky maybe less than that but it should go back into the flower stage again. the sooner you catch it the better. so check light leakage and think if there was something you might have changed with the lighting that might have caused it but either way keep it 0n 12/12 cycle and the wait the painful wait.