After an exhausting trek of 10 hours, returning to Gorak Shep is highly welcomed. Again, there are not too many choices to find accommodations. However, you definitely will be simply happy to recover.
It will be an easy decision to descend on the following day, since staying on an altitude of 5.000m is not feeling comfortable. On the way back to Lukla you can stop at different places for staying overnight.