Was that the one where Spock did a Vulcan mind melt telling Kirk to "forget" at the very end, or did that happen in a different episode?
It was a different episode called ‘Requiem for Methuselah’.
Different one.