Dr. Eggman is defeated by Sonic and sent into space .
With the help of the Wisps , Sonic defeats Dr. Eggman , sending him hurtling helplessly off into space , and escape the exploding amusement park , returning safely to Earth , where Yacker thanks Sonic and Tails and bids them goodbye .
Sonic Colors