Normally, the previous employer pushes you to leave before the end of the grace period, and you have to show them the exit stamp. That confirms that you have left the country and you are no longer their responsibility. Depending on your nationality, you should think about doing a visa run, or a flight to Bahrain or elsewhere.