And if that doesn’t work it may be time for a reset to factory default, though you’ll lose various settings. Procedure is in section 6.6 of the manual.
I had to reconnect mine to WiFi again on Saturday. Like you, this time it didn’t mention AirPlay. Up to now it has stayed connected. This is the longest time in a while. This might just save it from the bin !
QB1 had a bit of a reputation for iffy WiFi. QB2 is supposedly better.
That said, our QB1 has been flawless on WiFi whereas our QB2 does occasionally lose connection and needs a restart, in spite of being closer to the router. I put it down to luck of the draw.