Yes.
You need exit permit to exit Qatar.
No matter, it is for one day, or for one year.