Towards the back of the machine normally counts as up for upwards-facing sockets, unless it’s a case with feet on the side, in which case it’ll be away from those feet so the sockets would be the right way up if it were sideways and on the alternative feet.
He at least got in a robot suit and didn’t sulk so much.