Knock the pin out of that crown gear then pull everything apart. A trip to the welding shop will put your brackets back on with no damage to anything. Clean, add fresh lube to the Acme thread inside the leg, install a new gear set if necessary and reinstall. Atwood has any part you need and at a fairly reasonable price. As far as the crown gear pin, a rolled spring steel version installs easier and is a lot stronger and on mine stayed in place better then the grooved solid Atwood pin which can be a bear to install.
Dave W along with my DW, Susan and our poodlepups, Callie & Molly,2011 Ford F250 6.7 CCLB, 5er Hitch Option w/B&W Hitch,,Ride Rite air bags, 2014 Montana High Country 343RL (38')