Derry Township police said a woman barricaded herself inside her home and fired off two shots with a handgun as officers were approaching.
It happened around 11:00 p.m. Wednesday on the 300 block of East Glen Road.
The Dauphin County Crisis Response Team was called in to help, but before team members arrived, police said they were able to convince the woman to surrender.
No one was injured but the woman was taken to Penn State Hershey Medical Center to be checked out.
The woman's name has not been released.