The encounter began after security personnel launched a search operation in the Shopian district following intelligence inputs about the presence of terrorists.