When driving, car revs to 5000 rpms but won't down shift. on 2009 Chevrolet Malibu

I turned it off and waited a couple of hours and went to get an oil change. The car has been fine since. Should I have it checked out more? Could there be an impending transmission problem that was temporarily fixed by resetting the low oil status?

Asked by for the 2009 Chevrolet Malibu
have trans codes scanned to see if there are any codes