This incident would have undoubtedly ended in tragedy” without the help of several agencies, Michigan police said.