To spit means to force liquid from one’s mouth.
He emerged from the pool and spit water from his mouth.
Example picture