In short: No. At the top the velocity is momentarily zero, but gravity is still acting, so the acceleration is still g, directed downward. Velocity and acceleration are different quantities.
1. If the velocity is zero, hasn't gravity switched off? No. Gravity does not depend on how fast the hammer is moving. The only force on the hammer is its weight mg, so F = ma gives a = g, downward, at every point of the flight.
2. Why does the hammer slow down on the way up? The acceleration g points downward, opposite to the upward velocity, so the speed keeps decreasing until the velocity reaches zero at the top.
3. Can an object have zero velocity and non-zero acceleration at the same instant? Yes. The velocity is zero only for an instant at the top. Acceleration describes how the velocity is changing at that instant, and it is still changing from upward to downward.
Want more AP Physics 1 help like this?