The trim is activated by a relay. The switches are not failing all at once, if the trim is clicking and not Operating then it’s either voltage or the electric motor from moisture while sitting we would guess.
We would remove the cowling and listen for the relays. Blue is up, Green is down on the wiring.