Officers were called to Salford Royal Hospital in Greater Manchester at 9.20pm yesterday, after a man made threats towards staff, police said.
A weapon was recovered and the man was detained on suspicion of possessing a firearm and false imprisonment. A woman was also arrested on suspicion of possessing a firearm. Both remain in custody.
Greater Manchester Police said no one was injured during the incident, and inquiries were continuing.