Key won't come out w/auto to manual swap

I just put in a different manual trans after having a manual in this car that was converted. Now the key won’t come out, so it is obviously a wiring problem because when I disconnect the battery it will come out. Why would this work before and now it doesn’t? I didn’t touch any wiring pertaining to key so I am baffled.

in an auto there is the neutral safety switch (forgot if its this is the one or its something else) that lets the car know that it is in park so the key can come out. hope you get the idea what to look for. dont want to confuse you because i cant really explain it that well.