None of the fasteners or hardware are really designed to fight gravity. When you’re mounting gear vertically, it’s best to let Gravity work for you when securing equipment to the wall. I wouldn’t vertically install a UPS at all. I’d get a floor-standing unit if I can’t have a horizontal rack even if I have to install L-brackets for a small shelf for the pedestal UPS to sit on.
Bear in mind any PoE powered 10gig switches won’t have 10 gig on the PoE In port. You’re going to eat two ports on that switch. One for the power only and one for a 10Gig uplink. Also make sure you either have Spanning Tree enabled or have all traffic blocked on the PoE link… you’ve created a nice bridging loop.