what did the show deal with?
It is a satire over conflict between the critical success of "Star Trek" and the decision to cancel the program by the studio executives.
The Last Voyage of the Starship Enterprise
satire over conflict between the critical success of "Star Trek" and the decision to cancel the program by the studio executives. 
what was the last voyage of the starship enterprise? It is a comedy sketch that first aired on May 29, 1976, during episode 22 of the first season of the NBC variety show, "Saturday Night Live". who wrote it? Michael O'Donoghue
wiki:2544685
The Last Voyage of the Starship Enterprise [SEP] Themes
Pielke praised the final scene of the sketch as evocative of the original series and an indictment of capitalism. He wrote that Belushi finished off the sketch with a moving rendition of the introduction to the original "Star Trek" series, while modifying it slightly to emphasize that NBC's greed had ended the "Enterprise" mission. "Mother Jones" magazine additionally commented upon the key theme of satire over conflict between the critical success of "Star Trek" and the decision to cancel the program by the studio executives. The magazine noted that writer Michael O'Donoghue's work for the sketch was among the highest caliber scripts he had written for "Saturday Night Live".