If it's loose enough to come apart on it's own, when you re-connected it did you check it was 'tight' ? If you have bullet connectors these often get dirty and cause intermittent faults


Jon M