MANHASSET, N.Y. (PIX11) – A Long Island man allegedly pulled a gun on a 6-year-old who mistakenly delivered a Halloween goody bag on his porch, according to the Nassau County Police Department.

The 6-year-old boy and his sister were with their mother on Rockcrest Road in Manhasset Saturday evening when the two children got out of their car to drop off the bag at what they believed was a friend’s house, according to authorities.

The children left the bag on the porch after ringing the doorbell, police said, but soon realized they might’ve gotten the wrong address. The boy went back to get the bag, according to authorities, which is when 43-year-old Michael Yifan Wen allegedly opened the door and pointed a gun at the child’s head.

Wen was charged with endangering the welfare of a child and menacing. He pleaded not guilty and was ordered back in court on Nov. 13.

State officials reminded parents that young children should always be out with adults when trick-or-treating. Families should only approach houses that have the lights on.

Submit tips to police by calling Crime Stoppers at 1-800-577-TIPS (8477), visiting crimestoppers.nypdonline.org, downloading the NYPD Crime Stoppers mobile app, or texting 274637 (CRIMES) then entering TIP577. Spanish-speaking callers are asked to dial 1-888-57-PISTA (74782).