Depending on the era, typically it was a full retreat and slaughter as soon as the shield wall broke. Not all the time, but that was just typically how it went.
Charging cavalry would be stupid. Soldiers knew no horse would challenge a bristling shield wall.
Charging cavalry would be stupid. Soldiers knew no horse would challenge a bristling shield wall.