The Farmer , wishing to catch him , shut the gate .