You might try jacking up on one corner or another on the frame to try to get the cab to flex enough to release the door.
It's always a good idea to remove the striker plate for the latch when you are adjusting the hinges on the door or hood so you don't get it stuck.