You can exit of course but If you exit without RP, then your visa will be void. You will have to enter the country with a new visa, and u have to redo medical and finger print.
Its advisable to get your RP done first, then leave the country.