Well done to the microlight pilot - and but for the grace of God goes us all.
I was taught that if a tow bar was attached to the aircraft then your hand was attached to the tow bar and always stick to that one.
A similar thing for canopies - if a canopy is open then you're hand is holding it open.