Heather, I'm sorry to tell you, but someone is having a great laugh right now thanks to you.
When you begin marijuana growth, plants usually (with some exceptions) start in what is called the vegetative stage. This is when the plants grow tall and strong and is when the plants develop most of their fan leaves and root growth. After a certain amount of time in the vegetative stage, you force them to enter the flowering stage. This is when the plants begin to flower and produce those buds we all love so much.
Outdoors, this is dependent on season, but indoors, you have to roughly follow the following instructions:
Begin plant in vegetative stage by giving it 24 to 18 hours a day, and the remainder should be spent in uninterrupted darkness. Usually (again, with some exceptions) you switch to flowering when the plant is around 12"-15" in height.
Begin plant in flowering stage by giving it 12 hours of light and 12 hours of interrupted darkness every day. You will follow this pattern until harvest.
What it sounds like you did was start your plant in flower lighting, interrupting its night cycle every night (which may or may not have kept it in vegetative stage), and then switched to vegetative lighting. The reason your plants began to grow so fast when you switched to vegetative is because they are not focusing their energy on creating buds, and they are getting more light every 24-hour period. I'm pretty sure at this point, you can either remain in vegetative lighting until you reach the desired height, or (if your plant is already tall enough) force it back into flowering by giving it 12/12 again.
I think that you should also consider at least doing a little bit of research before you dive right into planting.