A gunbattle in Kashmir that lasted 20 hours ended Thursday with Indian forces killing two suspected rebels.