apologies if you know this, I am mentioning it as it could directly impact if you can stay in canada
unless you already obtained PR in Canada through another route, if you withdraw your refugee claim then removal proceedings will be activated against you and you will need to leave Canada within 30 days/as soon as possible. there are also other impacts on future travel etc. that folks can elaborate on if they like.
here is the link to the application to withdraw your asylum claim that you will need to submit
https://www.irb-cisr.gc.ca/en/forms/Pages/RpdSpr2401.aspx