The Price of Freedom (comic)

Summary
Spock and McCoy help the Enterprise locate Kirk and Chekov in prison. Kirk and Chekov help the other prisoners engineer a mass escape and the Enterprise loses track of them. Spock and McCoy are captured by guards looking for escaped prisoners.