The cv axle uses a compression snap ring. If too gentle of a force is used the ring grabs whatever its snapped to and hangs on. With a quick hit the ring compresses in the groove and pops out. It's possible that ring is damaged. Keep hammering at it. Try also rotating the cv so you're not just hitting it on the one place.