A common cause is a loose plate in the tail cap. I’ve attached an image showing how to tighten it. The instructions recommend using a small screwdriver, but a pair of needle-nosed pliers may work better, as they can grip both dents simultaneously. After tightening, could you test the light again? Does it work properly now?