As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
(CAN) DURING CLIMB, THE GEAR WAS SELECTED UP AND THE GEAR DID NOT RETRACT. THE SELECTION WAS ATTEMPTED SEVERAL TIMES WITH THE GEAR RETRACTING ON THE LAST SELECTION. MAINTENANCE FOUND A LOOSE WIRE ON THE EMERGENCY EXTENSION MICROSWITCH LOCATED BY THE GEAR TRANSMISSION. THE CONNECTION WAS RESECURED.