Knowing that this ridiculous line of questioning wouldn’t end unless he relented, Shatner smiles, says hello to Science Officer Cooper and puts his hand out for a welcoming hand shake.
While he declines twice, telling Sheldon to call him Bill, he finally agrees and then Sheldon decides to be all Sheldon about it and ask if Shatner will refer to him as Science Officer Cooper.
Sheldon is ecstatic and squeals “Captain on the bridge!” about 50 times before finally calming down and asking Shatner if he can call him captain.
I say unfortunately and not shockingly, because what we then hear as the guys watch is Sheldon throwing up all over William Shatner and his out-stretched hand.