Press Escape, then click End Flight.
That returns you to the space centre, with any science and funds from the mission banked. If you're in the middle of something you'd like to keep, save first — ending the flight reverts the craft, so a quicksave beforehand is cheap insurance.