Suppose a spacecraft lifted off from the space center and within few minutes after reaching the 200 kilometers altitude on its way to the ISS, and for some reason the crew were incapacitated. Will the spacecraft still be able to dock to the ISS or would the ground team be able to get it back to the Earth?
All of the current crew vehicles dock themselves under normal circumstances, but they do allow the meat cargo to override the procedure if they want to.
Russia's Soyuz and Progress vehicles are designed to dock themselves at the International Space Station using an automated rendezvous system called Kurs.
SpaceX’s Crew Dragon Resilience spacecraft glided to a smooth automated docking Monday night at the International Space Station, delivering four astronauts.
Soyuz MS-14 and SpaceX Demo-1 were unmanned missions of the crew vehicles which successfully docked. Boeing didn't manage to dock theirs yet.
Ground control would also be able to command the vehicles to return to Earth. An earlier version of Soyuz has unfortunately demonstrated a landing with incapacitated crew.