Starter motor burned up?

May 7, 2023
58
catalina 27 lake st clair
I have a universal m18 diesel. My engine was running fine and was not overheating after 15 minutes of use. I smelled smoke so I shut it down. There was smoke in the engine compartment and the starter was really hot. Now when I pull the starter switch nothing happens. But I did notice it seems to get stuck in the on position. If this happened after my last start and the starter switch was indeed stuck on I think that would cause the starter to burn up. Oddly and possibly related earlier this year I had some wires melt near the starter including the main power going to the starter. We attributed that problem to chaffed wires. I replaced the wiring and all was good. Now I’m thinking the starter switch got stuck in the on position then (and caused the starter to get hot) but the melted wires depowered the starter before it could burn up. Thoughts ?