You can leave the transmission attached to the motor when pulling them both out.
Though I'm not sure how you can pull the motor out without the head attached and the front and rear lifting brackets bolted to the head...
Good luck with the repair and I will be following this thread!