On a camper the breakaway brake controller is powered by the onboard 12 volt battery. On a trailer without an onboard battery there is a battery pack that's recharged when plugged into the tow.
The pin in the breakaway controller has a notch close to the end. If the pin is pulled the end breaks off, doesn't do any good trying to put it back. The points in the controller can fuse together.
As long as the battery pack has power the brakes will stay on. You can cut one of the wires and kill the power. The controller will need replacing.