I will check if the pipes were capped off, but could it be that it was capped off not on the water tank side but somewhere else?
I don't know about the ballvalve. I suspect it might still be connected to the mains for filling up, that would explain why there is still water in the tank after...