Hi MrToga
If you got to the prompt by hitting Ctrl-Alt-F1 it's because X is still running. Then, the way back would be Ctrl-Alt-F2.
Otherwise, describe how you got to the prompt and whether your RPi has an attached keyboard and monitor. I don't
run any RPi hardware so you'll have to wait and see if any of the smart kids have any ideas.