If you have done something to cause the chain to de rail i would guess the chainbrake is now on, pull the hand guard fully back to the top handle to re load the brake.
Husqvarna man, April 2010
edit
I can answer this question...
polan 3314 chain saw. chain came off. sprock wheel does not turn?