By Ted Scouten

Follow CBSMIAMI.COM: Facebook | Twitter

COOPER CITY (CBSMiami) – Ring video shows a shadowy figure trying to get into a car in Cooper City then running off. Moments later that person may have tried again, choosing the wrong house.

READ MORE: Florida’s Surgeon General Asked To Leave Meeting At State Senator’s Office After Refusing To Wear Mask

He was confronted by a federal agent with Customs and border protection — and she was armed.

“I just woke up to some sounds,” said neighbor Laura Cook, “I didn’t know what a gunshot sounded like, it was just 3 quick pops and it thought I was dreaming it.”

It was no dream. BSO tells us the federal agent and suspect exchanged gunfire. “After 5am a woman was exiting her home when she encountered a car burglar, she interrupted a car burglary,” explained BSO Spokeswoman Joy Oglesby. “There was a brief foot chase and the suspect turned and shot at her, she returned fire.”

Deputies took someone into custody.

READ MORE: Finding This Year’s Most Popular Toys May Be Challenging Because Of Supply Chain Issues

At one point they walked a handcuffed and shackled man through the crime scene.

BSO will not say if the person they walked through the scene was the person they arrested. But seconds after he walked by – deputies were on the ground looking for evidence.

They spent much of the day searching, possibly for gun casings.

Another neighbor said someone got into his truck. Pointing to his open locked seat compartment, Efren Companioni said, “I could never open it because it was locked, broken, and now I come to look and it’s open and the door is open and this is exposed,” he said. “This is my private stuff and it’s opened.

No one was injured in the exchange of gunfire.

MORE NEWS: Experts Don't Anticipate National Supply Chain Crisis To End Anytime Soon

Customs and Border Protection put out a statement confirming the agent used her service weapon.

Ted Scouten