You need eta, electronic travel authorization, to travel and as long as you have a valid status and not travelling for longer periods, you can go wherever.
"it's a common misconception that the person being sponsored cannot leave Canada while the application is pending.However, returning to...