Trolley reverses in the car barn, but not at the end of track.
Possible causes?
Double-check the underside of your tracks, each reversing segment has either an A or B printed near the ends.
A ends are supposed to connect to As and B ends connect to Bs.