Friends had theirs pull out just like that. The fix was a couple of metal plates attached first to get new screw holes into the wood then attach the awning back to the plate. I believe a relative of theirs worked at an RV dealer and fabbed it up for them but it didn't look all that difficult. Could probably get all the stuff at Home Depot. Go for stainless or aluminum so it won't rust or paint the plate to match.
Mark & Nancy
2004 Winnebago Vectra 40KD
Shep dog, R.I.P. Kenzie dog Toad 2015 Jeep Wrangler Willys Wheeler