The gunfight broke when a joint team of security personnel was out on an anti-Maoist operation, a senior police official said.