I had to tip the gearbox down to get it out. This causes the rubber hose from the water pump to the long steel tube to come off, so you might as well loosen the clips on that hose before it rips apart.
Getting the gearbox out is easier than getting the gearbox back in. Getting the last 1" to mate up can be a challenge.