Westbrook police shut down Route 302 for about an hour Friday after a woman was charged with dancing in the roadway and her companion was charged with creating a police standoff after he allegedly threatened officers with what appeared to be a semiautomatic handgun.

Police initially warned Louise Dorazio, 48, of Westbrook against obstructing a public way after motorists reported she was dancing in Route 302. About a half-hour later, at 10:40 a.m., police returned and found her in the road again, and she was arrested on the charge, police said.

Richard S. Brichetto, 49, also of Westbrook, tried to intervene, then went back into his nearby house, police said. He reappeared with what looked like a black semiautomatic handgun and threatened officers, police said. He went back inside and appeared on his roof holding a knife to his throat, encouraging officers to shoot him, police said.

Bridgton Road was closed between East Bridge Street and Pride Street while officers negotiated with him. Brichetto ultimately climbed down off the roof, was disabled by an officer with a Taser, and then arrested on charges of criminal threatening and creating a police standoff.

The road reopened by noon.