An unidentified militant was killed in a gunbattle with security forces in Jammu Kashmir's Kupwara today.