If a triac is used to control the incadesent bulb, it needs a minimum load to turn off.
Do you know the bulb # you took out?
DC or AC to the bulb?
When I replaced the interior lamps and trunk light with LED, all sorts of weird things happened. When the "max on time" expired, the lamps would turn off. if you opened one door, the trunk light would come on part bright. if you closed the trunk and the door and opened the trunk, the trunk would be full bright. A power resistor in parallel with the trunk LED only fixed it.
Bulbs #; find current; at 12V. Calculate resistor value and wattage for entire or part of the current.
Back when LEDs were fairly new, I replaced a stereo indicator with a LED and I had the partial lighting issue. i have the circuit somewhere that I used. I think I used a Zener diode and some resistors to fix the problem.
A UPB dimmer connected to a LED lamp had the no turn off problem. Added a small incadesent light in the fixture. The fixture was dual bub.