Five farmers died of 'shock' in parts of Uttar Pradesh, all apparently distressed over damage to their crops due to unseasonal rains in the state.