Recovery
From Kerbal Space Program Wiki
Recovery a possibility in Career mode to regain funds. It is only possible to recover craft landed or splashed on Kerbin. Depending on the distance to the Kerbal Space Center a part of the costs to buy the recovered parts including the resources is returned.
It is also the only way to return all Kerbals sitting on that craft back to the Astronaut Complex and to gain reputation by doing so.
A craft or Kerbal can be recovered from the Tracking Station and directly when controlling it. Other parts or Kerbals which aren't attached to it anymore aren't automatically recovered with it.