It depends... if you are going for vacation then only exit permit is recquired and if you are leaving for good, exit permit is required, if you want to collect all ur dues you should cancell visa.... you can also leave without cancelling your RP... If you have resigned and yur resignation is accepted by company,, they will cancell ur visa and get u exit permit.. if you are going on vacation and not intenteded to come back... only exit permit is required and your RP will automaticaly cancelled if u do not turn up before 6months... in all cases if your are leaving Qatar Exit permit is recauired...