Complex sentence: Three years pass and the "Enterprise" returns to the area under Captain Gregory Westlake, after picking up Spock, who had retired from Starfleet and returned to Vulcan.
Split into simpler sentences: Three years pass and the "Enterprise" returns to the area under Captain Gregory Westlake, having picked up Spock en route. He had retired from Starfleet and returned to Vulcan.