When you hit the plane with your mouse you get a hitPoint which position is calculated with world space, in order words imagine a line starting from the center of your screen and going to your hit point, that’s the direction you apply to your ship, to make your ship rotate towards the mouse you should define a vector direction and then rotate your ship toward that direction:
The green vector was what you were applying to your ship and the direction (which is the hitpoint - the ship position) is in yellow and is the right direction you needed
To understand how vector works you can simply follow the green line with your finger and when you are at the tip, you go to the direction of the blue line (but the opposite direction because we did a substraction) and so you find your vector direction (from position (0,0) to your finger)