In order to minimize the impact of typhoons on ship navigation at sea while ensuring the safety and cost-effectiveness of ship avoidance during typhoon encounters, a research has proposed a ship avoiding typhoon path based on an improved artificial potential field method. Firstly, introducing a gravitational distance threshold and repulsion between the ship and target points in the original function, and incorporating random noise in the resultant force, to improve the artificial potential field method. This aims to address the issues encountered in traditional artificial potential field methods, such as obstacle collision, unreachable targets, and getting stuck in local minima, thereby enhancing the efficiency of path planning. Next, using Python software to set up the simulation environment, and under the same parameter condition and obstacle information, the improved artificial potential field method is compared with the original method to verify the superiority of the improved algorithm. Finally, to further demonstrate the practicality of the improved artificial potential field method, the 2023 of Typhoon Damrey was chosen as the research object, and the path simulation of ship avoidance was carried out, a reasonable path with both safety and economy in the dynamic moving process of Typhoon is obtained. The results indicate that the application of the improved artificial potential field method enables ships to safely and efficiently avoid typhoon.