I've been staying in a hotel for the past month. I work to pay the bill on a daily basis. We are in an ice storm, there's no work. I can't pay. The officials say stay put, Can they kick me out if I can't pay?
This is from a guide published by the California Hotel & Lodging association:
The mere fact that an innkeeper has a legal right to evict someone does not give the innkeeper the right to carry out the eviction in a manner that would place the person in a position of harm.
Additionally, according to that guide the eviction of a non-paying guest cannot be done by the hotel owner or their security staff, it has to involve the police (who would then also have the responsibility not to put you into a harmful position).
This is based on California law, so it may not apply in your jurisdiction, but in all likelihood the laws are similar. But note that it only applies in situations where there is immediate danger, i.e. until the storm ends.
If the hotel tries to kick you out, threaten to sue them. That should make them stop and do it by the book.