Six people were killed when an explosive shell went off after an encounter between security forces and terrorists in Jammu and Kashmir's Kulgam, the police said on Sunday. Three terrorists were shot dead and two soldiers injured during the gunbattle earlier.