Strongly disagree. A person was brutally beaten. As a cop, he should have blown his cover and save the family. His undercover mission was not as important as the lives of a family in danger.
He is not a CIA agent or a spy whose mission would be so valuable.