Transmission on 1999 Acura CL

Car was driving then out of the blue the car didn't want to move when I put it on drive it doesnt move

1 answer 1 comment
I hate to say it but I have seen transmission problems with these. Does the engine run and accelerate but when transmission is put in drive or reverse car just does not move.
The only time it will go into gear is when I shut the engine off let it sit and started again runs in All gears for a few minutes then falls out of gear engine is strong