Green’s Dictionary of Slang

buggery! excl.

an excl. of annoyance.

[US]B. Rodgers Queens’ Vernacular 38: buggery (Brit gay sl) hell fire, damnation. Applied facetiously ‘Oh, buggery! I’ve lost my wallet!’ Go to buggery! = go to blazes!
[UK]A. Bleasdale No Surrender 44: Oh buggery ...