For “Star Trek” fans it was like finding a lost Shakespeare play — only to have it snatched away by the playwright’s heirs.

Last fall an unused script for the cult 1960s television show turned up after being forgotten for years. Its author, the science-fiction writer Norman Spinrad, announced that it would become an episode of a popular Web series, “Star Trek New Voyages: Phase II,” which features amateur actors in the classic roles of Capt. James T. Kirk, Mr. Spock and other crew members of the starship Enterprise.

But then another player stepped in: CBS, which said it owned the script and blocked a planned Web production of it. Trekkies were appalled. “These executives should be phasered on heavy stun,” said Harmon Fields of Manhattan, who called himself “a ‘Star Trek’ fan of galactic proportions.”