A suicidal man who ran a home-based gun shop died after he and two Volusia County sheriff's deputies got into a shootout near Ormond Beach, officials said.

And based on an incident report released by the Volusia County Sheriff's Office, the man's 14-year-old stepson was present as shots were being fired, yelling at deputies and at his father Michael Hartman during the incident.

The 38-year-old Hartman was found dead inside the home at 3626 Plantation Drive after the shootout Monday night, but it is not clear whether he shot himself or was shot by deputies, sheriff's spokesman Gary Davidson said.

The deputies involved in the incident are Cody Cochran, 26, and Corey Rittenour, 35. Cochran is a five-year deputy and Rittenour was hired in 2010, Davidson said. Both have been placed been placed on paid administrative leave which is customary when a law enforcement officer fires his or her service weapon.

Beside the 14-year-old, there were two other children in the house — a 2-year-old boy and a 3-year-old girl — and Hartman's wife. However Kaleigh Hartman and the two toddlers were able to get out of the residence before the shooting erupted, deputies said.

Kaleigh Hartman later told investigators that she did not know where her teenage son had gone. The wife could not be reached Tuesday afternoon.

The Florida Department of Law Enforcement has taken over the investigation as is also customary when a duty weapon is discharged by a law enforcement officer. An autopsy will be performed Wednesday, Davidson said.

Deputies responded to the house after a call from the residence about 9:50 p.m. The caller said the man was suicidal and was known to have a "gun shop" inside the house and access to numerous firearms.

State records show Hartman was the manager of Hole In The Wall Gun Shop, LLC, which has a website that sells parts for semi-automatic rifles.

Sheriff's spokesman Davidson explained how the two youngest children were able to leave the house unhurt.

"The two youngest children were passed out of the window to safety as the wife escaped with them and a friend to some nearby woods to seek protection," Davidson said.

Shortly thereafter, about 10:17 p.m., Hartman opened fire on deputies, with the two deputies returning fire, Davidson said.

Initially when deputies arrived at the house they spotted Hartman walking south on the driveway, the report states. When Hartman reached Plantation Drive, one of the deputies yelled at him to show his hands, the report states. Instead, Hartman bolted back toward his residence, the report states.

Hartman reached the double doors to his garage, which houses his gun shop, the report states. Deputies said the teen tried to prevent Hartman from entering the garage. But Hartman overpowered the boy and went inside.

In his report, deputy James Seyboldt stated that he took cover behind the passenger rear tire of a sport utility vehicle in the driveway. Seyboldt stated that he immediately heard "several gunshots originating from several different directions."

Seyboldt then saw the teenager with his hands in the air yelling first at Hartman to stop what he was doing, then at deputies to not "shoot him," the report states. When the gunfire stopped, Seyboldt told the teenager to take cover behind him. Once the boy was behind Seyboldt, the deputy then ordered the teen to go west on Plantation Drive, the report states. The boy was unhurt.

Seyboldt was then informed by the sheriff's dispatch that the security cameras inside Hartman's house were accessed. A dispatcher told the deputy that Hartman was close to the doorway and was lying on his back, the report states. Deputies approached Hartman and confirmed he was dead at 11:02 p.m.

This would be the third person fatally shot by Volusia County deputies this year. In 2015, three people were killed deputies and in 2014, one was fatally shot. The next two largest law enforcement agencies in Volusia and Flagler counties — the Flagler County Sheriff's Office and the Daytona Beach Police Department — only had one shooting between them between 2014 and this year. An armed rape suspect was shot to death in 2014 outside a business by a Daytona Beach officer.