Recessed Lighting Junction Box Cord
You are likely to have issues and I would strongly recommend replacing at least the LED driver box ("junction box"), if not the entire light.

The white cable that connects to the driver box contains at least two low-voltage wires, and is secured to the grounded metal driver box by a plastic collar. Contact between the metal box and the internal wires likely caused your issue, pulling on the cable probably caused further exposure of the internal wires, and if your wire nuts aren't well-secured inside the box due to some of this punching and pulling, you could have a real mess on your hands from low voltage + high voltage + ground contact.

Rather than punching holes in the ceiling, try to pull the light downward out of the hole and the driver box should follow.