Star Trek IV: The Voyage Home (1986). The crew time-travels to 1980s San Francisco to retrieve humpback whales, whose songs are needed to appease an alien probe threatening Earth.