If the supply valve is stuck, you can always turn off the water intake to your home, but that prevents water from reaching all of your fixtures.
When you remove the fill valve completely, a little more water could spill out onto the floor, so keep it dry with a towel.
Fill valves usually only cost around $10–15 USD.
Be careful not to overtighten the plastic nut since you could easily strip or break it.