Returned to the supply as a loco/factory or just as a Factory? The rulebook is a bit tricky the decipher here for me.
When a player is unable to place a
locomotive, she flips it purple side up
and places it next to the locomotive
supply. That locomotive will now be
used as a factory.