During the 5k and 10k can you leave the race area to use the restrooms?

For the 5k I know it starts and finishes in the parking lot, but is the rest of the course in Epcot?

I managed to do 5k yesterday at Epcot with lots of rest stops, a few rides and lunch. Started at 9:30am finished around 12:30pm. How long to they give you to finish the 5k during the race?

At least I know I can do the 5k.

Same questions for the 10k.

Any particular type of running clothing? I will be getting a good pair of shoes for sure.