Police in Queens recovered a loaded Uzi and 12 other guns when they responded to a domestic disturbance at a house in Jamaica, law-enforcement sources told The Post.

Police responded to the home on 97th Avenue near Sutphin Boulevard at about 2:30 a.m. on Wednesday and found a woman trying to push her 5-year-old daughter out of the basement window, the sources said.

She told cops she locked herself in a room because her boyfriend had been threatening her at gunpoint.

Cops walked into the house and found a loaded Uzi on a table and a bag of 12 other guns, police sources said.

They nabbed the woman’s boyfriend, Gabe Smith, and arrested him on criminal possession of a weapon, threatening and strangulation charges, the sources said.

The woman was not seriously injured in the attack.

Additional reporting by Ben Feuerherd