I remember it from a movie, in the theater, not a tv show. 1980s, I think, with Kirk and Spock in the SF Bay Area.
They were trying to get whales to bring back to earth in thier time to save the world I think from VEGER.