How would a medieval knight react to a submachine gun?

They might be pretty safe, submachine guns usually fire handgun rounds and I think it takes something a bit bigger to make it through plate armor

Someone correct me if I’m wrong