You need to reach the Space Stage. Progress through the earlier stages until you unlock it — and if you've already completed the Cell Stage, you can start a new game and jump straight to Space.
Once you're there with your UFO in hand, zoom out using the mouse wheel. The camera pulls back until you're in orbit around your planet, and from there you're free to travel.