However the aircraft shouldn' t have been that far from the runway.
Nothing prevents an aircraft to climb in this situation, either AP ON or OFF.
At this stage, end of downwind, you must be AP OFF. And if you see the rwy that doesn' t mean the hills aren' t covered by clouds , ie invisible, hidden. Even if the weather is clear 10 mns later...