AccelStepper Cancel moveTo

Hey, slow down!
Read this topic and use it: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum

Do You want a thousand guesses to work through? Here's the first: You use AccelStepper. It's competent but not so easy to understand and use. Some functions are blocking, run until they are finished.
Other helpers suggest Moba Tools stepper library.
Either read more about AS or take a look at MobaTools.