Two things what's your build date and if it was the physical transmission, the system would not have locked it out to prevent damage.
My opinion, TCM, there was an update, don't have the date, haven't had it done myself, that could have either caused or could have prevented the issue.
Course the whole thing could have grenaded then you get a new transmission.
2016 TH, V6, C&C, Tow group, 8.4AN, leather, Cold Weather, Command Sunroof, Black wheels, & Black. Maxcare Unlimited Miles and Years $100 Deductible.