Top spot in Group A2 and a place at the inaugural Nations League finals was up for grabs in Sunday’s match in Luzern, and the visitors - for whom Divock Origi came off the bench late on and Simon Mignolet was an unused substitute - raced into an early two-goal lead.
However, the home team surged back, with Shaqiri setting up the first goal of Haris Seferovic’s hat-trick, which made it 2-2, on the half-hour mark.
Liverpool’s No.23 later provided a superb cross for Nico Elvedi to nod in Switzerland’s fourth of the evening and then produced a brilliant flick in the build-up before Seferovic completed his treble late on.