you have a battery switch outside of the engine compartment? If so, you can pull that, and hook up another battery through those terminals. Just enough to get the hatch motor to run.
Once you get in, you can install a couple of battery lugs somewhere outside the engine bay for next time. Something like this: http://www.summitracing.com/parts/PRF-40106/