open each of the doors and "play" with the switch. Rear gate only works the rear lights...... I think...
In order to save your battery, there is a fuse (I can't think of which one it is.. but just pull them one at a time until the lights go out). Pull that and you can fix it when you get home.