Earlier quoted context omitted.
I read an article some time ago about the opposite scenario. I searched for the article just now but didn't find it; would be curious if anyone has a link. I remembered it something like this (but see soarfourmore's reply for a correction): what if the command module pilot became incapacitated but was still alive? The lunar module could still dock with the command module, but the astronauts would not be able to get i…
> The would not know at that point whether the CM pilot had his spacesuit helmet on or not, so they wouldn't know until they opened the hatch whether they had just killed him. There were windows on the command module to look in, and if they weren't sure if he was responsive/unresponsive, they could tap iron onto the command module to let Collins know they were there and spacewalking. It's an interesting thought proce…
https://spaceflightblunders.wordpress.com/2017/04/07/lunar-o...
From the article, I was wrong about not knowing whether the CMP was alive:
"Unless there was a very serious issue with the CM’s communications systems, NASA would know of the CMP’s fate immediately. Every astronaut wears biomedical sensors at all times, as part of their constant-wear garment. This telemetry is sent to the flight surgeon."
More discussion here:
https://space.stackexchange.com/questions/45426/procedure-to...
A comment from that page:
"Probably the worst scenario would be for the CMP to be alive, but disabled and not in his spacesuit. There would be no way for the other astronauts to get to the CMP without depressurizing the CM, thus killing the CMP. It's an obvious choice between three astronauts stranded in lunar orbit, versus two getting home alive. Nonetheless, I can only imagine the regret that the astronaut who would have to depressurize the CM would have."
So it is even worse than the way I remembered it: the LM pilots would likely know that the CMP pilot was alive but incapacitated and they were about to kill him.