The typical battery installation for a Vulcan 500 involves a two-stage attachment of the battery cables to the battery posts. Since this arrangement often results in a loose connection, and the intermittent stalls etc that such connections cause, this detailed explanation if offered with the hope of assisting Vn 500 owners in rectifying the problem.
I experienced a variety of symptoms, but in the end, I could start the bike, let it run for 3 minutes, have it die, tip it from side to side, or roll it forward and it would start. All of these movements were establishing temporary contact in the battery connections and then disrupting them again at the slightest movement or vibration. If you have erratic problems check this source.
-

Battery poles have fasteners attaching an L shaped bracket to the battery post. This is attached by a horizontal bolt (fastener) that is not easily visible unless the battery is lifted from the battery box. This L shaped bracket is subsequently attached to the battery cables by a vertical bolt (fastener) visible from the top of the battery. It is not enough to check that the vertical fasteners are tight; often it is the horizontal fasteners, not as easily accessible, that are loose and the source of electrical problems.
In brief if you suspect an erratic electrical supply, check the battery connections, but . . . be sure and check all four (the two on top and the two on the side of the battery posts.). Remember battery posts are lead and thus soft. Do not overtighten, but once treated with locktite and tightened they should stay functional. I apologize for the excessive detail, but we have all seen this problem explained but not completely understood by the person standing on the side of the road, or frustrated with their new ride. Ride on, and safely. Tom