If you cancel your visa in UAE, the six month ban will apply only to return to UAE. No any problem to come to Qatar.