Question: what is the acceleration of the ball the moment it has zero velocity?
Answer: When you throw a ball upwards, at some point, it completely stops and then the very next instant, it starts to fall down. Even though it stopped, i.e the velocity is zero, the acceleration would be the acceleration due to gravity, 9.8 m/s.