Space shuttle Atlantis and its astronauts returned safely to Earth, detouring from Florida to California. It was the end to a 13-day mission that repaired and enhanced the Hubble Space Telescope.