Finished "Ishmael" by Barbara Hambly. This was interesting, because it's something of a back-door crossover with "Here Come the Brides", another TV show that would have been a rough contemporary of Star Trek in the '60s. And one that I had never heard of before.
#StarTrek #HereComeTheBrides
Spock and Kirk become suspicious of a Klingon freighter passing through Starbase 12, so Spock sneaks aboard for a little impromptu espionage, only for the freighter to completely disappear. Kirk thinks Spock is lost. Unbeknownst to him, Spock has actually been thrown back in time to 1867, in the middle of another TV show on a rival network, having no memory of who he is or how he got there.
Spock is found by Aaron Stemple, who was played by Mark Lenard. Aaron tends his wounds, realizing that he is an alien. Spock takes on the identity of Aaron's nephew, Ishmael Marx, and inserts himself into the main cast of "Here Come the Brides". Hijinks Ensue. We love us some Vulcan Hijinks these days.
Meanwhile, in 2267, Kirk and McCoy work on deciphering Spock's final message to try and figure out what the Klingons were planning. The Klingons had plotted to assassinate Aaron Stemple in 1867 before he could thwart a clandestine alien infiltration some years later.
Even though I'd never heard of "Here Come the Brides" before, and probably wouldn't have bothered with it if I had (not really my choice of genre), I found the whole concept intriguing. I even went so far as to try to find it streaming somewhere. But the only place I could find it was Roku.
And I kindof wonder how they got away with it; did they get permission from Screen Gems? Did Screen Gems even notice or care? Even though the zealous litigation we know and expect today was largely spurred on by the Internet, Copyright was still very much a thing back in 1985. Or maybe they were just happy the show got any exposure at all in an era where it lived on mostly in reruns.
An interesting entry into #StarTrek history to be sure. And viewers of #HereComeTheBrides maybe never got any closure when the show was canceled after only 2 seasons. So anyone itching for a resolution, this is probably the best they're going to get.

@peregrine57
The book itself does not mention any "used with permission" language on the copyright page, but I am confident that there was some sort of arrangement.

It might fall under the Transformative Use clause in copyright law, but I cannot imagine Pocket Books running that risk without at least talking with Screen Gems.