Was the nano UPS powered off while you did this?
Even if not - I doubt that shorting the output from the UPS would harm the camera.
But
@cyberwolf_uk question is very valid - are you 100% sure that you have the polarity of the wiring correct? Did the UPS manual / guide confirm that the output is centre positive? Assuming the red wire is intended to be positive?
Impressive recollection of semiconductor basics. You must have had distractions not to finish ...