Yeah I misremembered this scene:
SPOCK: I need not explain my rationale to you or any other member of this crew. There is a margin of variation in any experiment. While there was a chance, I was bound legally and morally to ascertain the Captain's status.
MCCOY: You mean to be sure if he was dead. Well, you made certain of that.
SPOCK: That is enough, Doctor. We both have other things to do.
MCCOY: Yes, I have something to do. If this crew is to survive, I have to find an antidote to this space you've locked us into.
Thanks McCoy, so in less than 30 seconds you tell Spock he effed up and not only killed the Captain, but trapped in Crazy Space.