Without more details there's no way to know what happened to your plant. Do more research next time before trying to grow again, there's hundreds of links if you google "growing cannabis".
You sent the plant into shock by moving it outside and into a different spot should have just started out in a5 gallon bucket need to continuously raise the light as a plant grows it should only be a foot and a half away from the top of the plant keep the light on it and if noleaves sprout back in a week Toss it
Okay so my friend gave me a seed for my birthday, and I planted it in good soil and it sprouted and I had a plant light on it and everything. Soon it started to grow leaves and it got taller and so on. About two months later is was about two feet tall and it had about ten leaves on it and it was doing great just getting a little too big so I uprooted it and put in a medium sized pot with more of the same soil that I was originally using and I left it outside. I came back later it it looked like it was starting to die (I guess it wasn't ready for the outdoors yet). So I put it back inside with the plant light ans sure enough it started growing again and it was doing great. Then after about two more weeks some of the bottom leaves started to fall off. Then more more leaves started to fall off as the days went by. today the last leaves at the very top just fell off and now theres just a big stem sticking out of the soil xD. I dont know if its ****** from here but I hope theres still a chance. its not dead I mean its still standing tall, it just has no leaves lol. I am no expert on this so dont call me retarded xD, I've never grown a weed plant before, I have only ever seen my parents do it last summer and there's turned out great from being outside and we got like half a pound of weed from them, so I know that it will be okay if I put it outside. Please help. Thank you!