Close them up, feed weakish syrup to give them water and food. They will be fine for a few days like this.
If they are basically OK, after three days of respite, they wasps will be bored and the bees re-invigorated.
Tube entrance (or grass stuffed in) makes the bees traverse an obstacle...