2014 Dodge Journey - CEL and Trans issues

Funny sound in the gearbx and suddenly car stop on the Drive mode. No power, able to engage the gear to reverse and forward but it did not move. Done the same thing after 2 hours and it started engaging and moving as normal. Yellow engine light still on.

What are the codes?