the transistor is working properly, but for some reason does not close the circuit as if it were a button press, I would like to understand this but I think I abandon the idea now
Current needs to flow between Collector and Emitter of Transistor (controlled by the Base current) for it to work as a "switch"... so the "load" will be either in the collector or emitter leg. So the Collector terminal, through the "load" is connected to Vcc, and the Emitter to ground.
You just can't substitute the Collector and Emitter legs of a transistor and treat it as the (2) physical terminals of a switch like the way you'd shown in your schematic.