This sounds like a faulty switch to me. Or, you have some sort of feed back going on. I have not heard of this exact problem before.
I would disconnect the trigger wire for the starter then connect the battery. If the starter continues to run, it is faulty.
ASE CERTIFIED MASTER AUTO TECHNICIAN
MERCEDES SPECIALIST 11 YRS