Sounds like youve run the gun too low on air and the hammer spring has over come the remaining air pressure behind the valve and dumped .
To refil from flat try cocking the action as it take the weight of the hammer spring off the valve before pumping like mad to get the valve shut . If that doesn`t work you need to fill it from a dive cylinder as the higher pressure will shut the valve better .