You have a right to shelter until, working with your case manager, you are able to locate permanent, affordable housing. However, as described above, DHS can move to terminate your shelter stay if they believe you have broken a shelter rule.
Even if you did not break a shelter rule, it is often the case that shelter residents are given mis-information about how long they can stay in shelter. There are no limits on how long you can stay in shelter, as long as you are following the shelters rules. If you are given a move out date and do not have permanent housing identified, come into the Crisis Intervention Program to speak with an advocate.
The shelter CANNOT force you to leave without either telling you, in writing, that you have broken a shelter rule and provided a document called a Notice of Intent to Sanction, or helping you to find permanent housing.