Total energy will be conserved. What happens is that you will be spending some energy in changing the potential U.
For instance, consider the potential energy of some test charge, T, placed near some charged particle, A. Of course the potential energy of T will change if you move particle A around. So, in that sense, the test charge's energy is changing. But anything you lose or gain will be covered by the energy used in moving particle A.