Why can’t I get my key out the the switch? It won’t turn to the off position.
Try the obvious moving it in & out as you wiggle and giggle the key left to right.
If it doesn’t come out, the ignition switch may have to be removed.
Only with the shift lever in park position you can take the key out.
If not in that position, maybe the switch and or steering lock and or park release mechanism is damaged. In any event, you should see a qualified mechanic before this causes an unexpected, maybe serious problem.