An encounter broke out between security forces and terrorists in the early hours of July 13 in Jammu and Kashmir's Anantnag district.