Yes it is. The acceleration (due to gravity) is always acting downwards on the particle; when it's travelling up it has an upwards velocity. It doesn't sound right, I know what you mean, but if you think about it, it travels upwards from A, then slows down which means it must have a force acting against it (gravity).