I had the same problem with my 95 40hp mariner also. It went up by itself after coming back from fishing for the day. Did not know till the next morning. Battery was almost dead, was able to trim back down with trim button at engine. Hooked up battery charger and was able to trim up and down with buttons at engine and control at console. Seems to work fine. Awile later came back to the shop and it was up again. Disconnected battery and let it charge . The next morning I hooked it back up to battery and checked operation with buttons and it seemed to be working fine so I left it hooked up while I did other work on the boat. Walked around to the back of the boat around 20 minutes later and was staring at engine trying to figure out what was going on and the damn thing started going up again by itself. Disconnected battery again. Changed our the up relay thinking that would fix it. Checked switches again and worked fine. Went in to eat dinner , came back out about 30 minutes later and it was up again. Hope it didn't burn pump up this time because when I let it down this time it was real slow and gurgling trying to go back up. Sorry for the long explanation but trying to give as much information as I can. The wire diagram shows a remote control off the red wire from the throttle control, is that just a plug connection? Thanks, any help to fix this problem is appreciated