You may find that you can get a 30 day extension when in the country. That is the case if you hold a Brit passport. Check your countries travel advice for the uae or via the uae consulate in your country.
If you overstay expect a fine on leaving the country, then again maybe not.