Desperate times call for desperate measures — and with the Royals mired in a 4-19 collapse, they pulled off a whopper prior to Thursday’s game against the St. Louis Cardinals at Busch Stadium.

Hall of Fame slugger George Brett is returning to active duty with the organization as one of two hitting coaches in a sweeping move aimed at unlocking the club’s flat-lining attack.

Brett will join Pedro Grifol for Thursday’s game as interim replacements for Jack Maloof and Andre David, who were reassigned to roles within the minor-league organization.

“Obviously things have not gone as we would have expected, and in light of the downturn in offensive production and poor results, we’ve decided to make a change,” general manager Dayton Moore said in a statement released around 11:30 a.m.

“I’m thankful that this organization has one of the greatest hitters and more importantly one of the greatest competitors our game has ever seen in George Brett, and he has accepted our offer to join the coaching staff on an interim basis.

“We’ve also added Pedro Grifol, who brings a wealth of knowledge to our staff and will work various aspects of the coaching staff.”

Moore also thanked Maloof and David for their efforts.

“They are both tremendously knowledgeable and hard working men,” he said, “who have already made our organization stronger by their work in the system.”