The security forces launched a cordon-and-search operation in the Warpora area of Sopore on Thursday, following information about the presence of ultras.
Of the five terrorists that were killed by security forces, two were neutralised by security forces in the encounter on the intervening night of Wednesday and Thursday.
Earlier, the Kashmir Zone Police had said that efforts were being made to get two militants hiding inside a mosque in Shopian after an overnight encounter to surrender.
The victim was identified as Shams-ud-din Pir, according to the police. With this the number of persons killed in Monday's attack has gone up to three.
The gunfight broke out on Tuesday evening after a joint team of the army and police cordoned off the area and launched a search operation on the basis of a specific information about the presence of terrorists.
The encounter took place in the Kreeri area after the security forces cordoned off the area and launched a search operation on the basis of specific information about the presence of terrorists.
Security forces launched a cordon and search operation in the Tikken area of Pulwama district in the early hours of the day on receiving information about the presence of terrorists.
Shaurya Chakra awardee, Praveen Kumar Teotia suffered multiple injuries during the operation but his quick response and counter-attack saved more than 150 lives
Government sources said NSA Ajit Doval, foreign secretary and top intelligence officials attended the meeting in which Modi took stock of the situation.