Ezekiel probably only laid on the ground for part of the day. The text doesn’t say that he lay there all day long—only that he had to lay there for 390 days. He was probably tied up with the rope for the time that he was laying there. This becomes clear, when we see the imperatives in verses 9-17. He is told to fix food for himself.