Due to the rapid development of a global navigation satellite system and the rapid growth of ships, the traditional control algorithms are not suitable; hence, the longitudinal rocking phenomenon generated by external disturbances is more serious when a ship is sailing. This paper takes a mathematical model of the super large oil tanker “KVLCC2”’s longitudinal motion as the controlled plant, establishing a multi-input multi-output instability control system, using the root trajectory shaping method and a weighting matrix to ensure the stability of its transfer function’s mathematical model. An improved closed-loop gain-shaping algorithm is utilized to design a simple robust controller. And a dual nonlinear positive feedback control algorithm is added to the control system to further improve the controller’s pitching stabilization performance and reduce the controller’s output energy. In order to verify that the controller has a consistently strong robustness, simulation experiments are carried out by adding a level 6, 7 and 8 wind wave model and a perturbation link to the control system, respectively. The results show that when the value of the hysteresis constant is taken as 0.25, the output values of the heave displacement and the pitch angle are greatly reduced, and the longitudinal rocking phenomenon is significantly improved. The dual nonlinear positive feedback control algorithm enhances the ship’s pitching stabilization control capability and further reduces the controller’s output energy, which provides technical support for the smooth and efficient sailing of super large ships under changing sea conditions. Combined with a global navigation satellite system, this algorithm provides a new method for pitching stabilization control of super large ships.