Good Samaritan helps end dangerous encounter