San Diego Police surrounded a Point Loma home and told nearby residents to stay inside their homes after a gunshot was reported late Wednesday.
Ten police units responded to the report of a shot fired on the first floor of a home near Tustin and McCauley Streets, west of Nimitz Boulevard.
The call came from the suspect's wife who left the house after police arrived.
She was upstairs at the time of the shooting but was not harmed. Responding officers were concerned they might have a hostage situation or active shooter.
Officers surrounded the home and attempted to reach the gunman by phone. The suspect surrendered shortly thereafter.
Two guns, a hand gun and a rifle were confiscated. Police say the suspect was despondent and was transported to San Diego County Mental Health Clinic.
Residents in the neighborhood were not evacuated but were told to stay inside their homes. No one was injured.