A U code is a communication code between modules in the car, it typically means one of them does not have power usually due to a blown fuse. Just go through the fuses with an Omh meter (not just a visual check) I am confident you will find a popped fuse.
In the future disconnect your battery before doing anything electrical