Nissan Repair Questions? Ask a Mechanic for Answers ASAP
If you pressed the trunk lock in the glovebox then the electric release on the door is not going to work . It disables it.
Make sure the trunk RELEASE IS ON in the glove compartment then open the trunk with the release.
Are you sure you don't have a dead battery if your not getting any response from the latch with those methods? That sure is odd that the rear latch function ceased the minute you locked your keys in it.
There are not alot of other options here, there is a release inside the trunk but the seat releases on this year model are inside the trunk if I remember correctly. So this leaves you with the option of trying to fish out the keys between the seat seam or working the release that way.
Once your actually in the trunk you an use a volt meter and try to figure out if the latch is getting a request signal to see what part has failed, because there is NO reason it shouldn't release if the switch is ON.