Negligent discharge. Self-inflicted, unintentional.
I don't know where the GSW was, so given that he would have otherwise accessed the trunk from the outside, I'm assuming he was hit somewhere other than the head and was trying to access a medical kit.