Green’s Dictionary of Slang

Uncle n.1

also my uncle, our uncle, uncle
[abbr. Uncle Sam n.1 ]

[mid-19C+] the USA, esp. the US armed forces or other federal/national authorities.

In phrases

duck Uncle (v.)

[1940s] (US black) to avoid the draft.