I think a visit visa is valid through the currency of the issue date, you can leave the country and return within the valid dates. Check with Immigration Dept at Airport, dont rely on me!
However I think you would have more problems at the Saudi Border as they would be very suspicious of someone on a visit visa trying to enter KSA, probably not so much so at UAE border but check first!