A 9-year-old boy was pulled from the water in Mashpee Saturday afternoon, after nearly drowning.