Not necessarily. They must know by now that their position is in great peril. Their biggest supporters were probably Saudi Arabia and Iran--two states getting ready to go head to head. While Iran would still be on their side, the Saudis and their allies long ago switched tracks to being informal allies. The UAE's announcement was just a formal announcement of what has already been going on for some time.
We can probably boil this down to a few possibilities:
1) Hamas has realized they can't win this fight and have thrown in the towel. If they aren't going to get support from other countries, than Israel will slowly strangle them, regardless. This is probably their last chance at making good with the Israelis.
2) Hamas is trying to capitalize on the 'good vibe' going around to lure the Israelis into lowering their guard. Allowing Hamas to regain some wealth and resources, so they can rebuild their forces and attack again at a later date.
3) Hamas has no intention of following any sort of peace deal and this is just a short-term ploy with no real thought behind it.
4) A mixture of the first three, because there's probably a really good chance that a lot of people within Hamas are somewhat divided on what to do, now that the Middle East is officially abandoning them to the fate of doom at the hands of the Israelis.