Not touching is not unattended, where do you jump to that? The analogy presented could literally have you be next to it, have it secured, and then it going off alone through some defect you weren't expecting. Sounds far fetched unless we're talking about some kind of weapon system and not just a handgun.
The real takeaway here is this is a bad example and you shouldn't have brought it up because guns aren't cars.