If your RP is expired,then you can come as a tourist but can not work,Doha is not close for you as a visit.Remeber BAN is for work Not for visiting.But remeber your RP must be expired,if not then on airport they will give you entry under your previous employer ,then after you will need exit permit from him