Turning off scripts when deactivating gameobject

Title might be confusing but this is what I’m trying to do.
I have a 3rd character that has its own controller and camera. I also have a vehicle in the same scene that is deactivated with its own camera and controller. When the character enters the vehicle collider and hits a key, the character gets deactivated and the ship becomes active.
The controls for the vehicle isn’t smooth like it is when I try it alone without the character in it. I think it has something to do with the character control scripts still being active even though I deactivate the character.
I’m I right in thinking that the scripts are still active thus interfering with the vehicle controls? If so then I need to make sure when I deactivate the character that I also code in there to turn off the scripts. Then the question is how to code that in c#.
Any ideas?

If a GameObject is deactivated, any scripts attached to that object are disabled.

–Eric

Ok. Thank you Eric5h5. That clears that issue. Wonder now what the issue is.
Could it be that both controllers are using the same input keys? And yes I have the names different as in forward and pforward in the input names for the vehicle and character. But both use the wasd keys.