They were released to authorities after officers delivered the soda to the gunman , using a long stick to pass the six-pack through a door .