A sub-inspector of Uttar Pradesh police was shot dead on Wednesday evening after he went to resolve a dispute between brothers over harvesting potatoes in Agra village.