Gold hit a record high just below $4,000 an ounce as the US government shutdown, a wobble in technology stocks, and political shake-ups in Japan and France buoyed demand. Bullion rose as high as $3,999.41 an ounce, before paring some gains. December futures in New York - the most active contract - surpassed $4,000 for the first time on Tuesday.