You are allowed to leave..... I went every weekend to Dubai when I was first here for 3 months.
You can go. As long as you have your passport its fine.