Disabling Character Controller increases my y position in transform

I’ve created a main menu and one of its code is to disable the character controller if the menu is present so the user can’t walk while accessing the menu. When I run the program the menu successfully disabled character controller but I noticed my y position in transform is changed to 1.4 then when I click play, the Character Controller enables then changes my y position to 1.05 (What I see is after clicking play, my char slightly falls)

I’ve thought about enabling character controller and just disabling the movement keys but that would mean I would put the disabled commands in each script that doesn’t want character controller active and that’s alot…

You could also just make an encapsulating if statement,

if(!inMenu)
{
    //All of you character movement script
}

And just do this for any other script that contains actions you do not want to be performed.