Do you need to relocate the outlet? I'd just leave it alone and make the hole bigger in the shelf for devices to plug into it, possibly even blocking around the outlet on shelf so nothing on the shelf is close to it.