Residents of an entire Monmouth County borough were asked to stay in their homes due to an investigation, officials said.