This.

Recoil will bash in the front (positive) of the cells. No point using a spring there, a stud, and a potted driver might survive.

Better though to design the front end to pass the the recoil back to the cell through the outer circumference. Not the +V terminal.

Never seen that done, though it is so obvious, and so easy to do.