easiest to remove if you remove head from block complete, and then remove block from gearbox.
of course that way you need to replace head gasket (maybe involving a light skim), and if that can be avoided it's best. but then why are you having the engine out? if it's for rebuild, you'll need to do that anyway.