Your trim limit sensor or wires on the drive are probably bad or broken.
There are two wires in the trim harness bundle near the trim pump that go through the transom assembly to the trim limit sensor on the drive. One is blue and the other purple. At the point where they connect near the trim pump and turn into a pair of black wires unplug them and then make up a jumper wire to connect the purple and blue together to each other. This will bypass the trim limit function, eliminating it from the circuit.