I did this on an account without that had 70 pray i just ran back and got it out of my grave. However when you teleport or try to leave through the heavy door it's removed from your invo. When I realized you couldn't reequip it I stop trying.
Theirs other ways to get it out but it's not worth doing tbh. Because the barrel would shortly after fall off your head.