Not real sure what you're saying ... but, have you checked the trim relays ?? It could be the relays if you can trim in one direction but not the other. If you're trimming the motor up to load the boat on the trailer and it won't stay up, then that's a different story. If that's the case, then here's something I found that may help :
Expert: FieldServiceTech .
"First, when you service the tilt/trim unit, the motor needs to be in the full up position. That will keep the pressurized fluid from puking out the "fill" hole. To service the unit, raise the motor all the way up, use the tilt lock on your motor or a 'block' to keep it in the up position. Then remove the fill plug and add tilt/trim fluid until the fluid just starts to come out the 'fill' hole. Cycle the motor a few times in short strokes to purge air from the system. There really is no secret to servicing the unit. It's not that hard with the motor raised. I use the top of a gear lube bottle, you know the kind with the nipple tip. I cut a piece of aquarium tubing about 12 inches long and placed it over the nipple. Take the top with the hose now attached and screw it on the bottle of tilt/trim fluid. If bleeding all air from the system doesn't solve your problem, there are a couple other things that could cause your system to bleed down. There should be a manual release valve on the side of the unit (probably the starboard side). It looks like a bolt head with a slot cut through it for a straight slot screwdriver. If the seals on the release valve get worn, they will cause your problem and you will need to reseal the valve. The only other thing that could cause your symptoms are worn piston seals on the tilt rams. If this is the case, you'll have to pull the unit apart and reseal it. " (copied in part from https://www.justanswer.com/boat/25rh...old-motor.html )