The closing credits are set against a combination background of stills from that episode, previous and future episodes - as per usual Star Trek: TOS practice.