Parliament decided to act in the best interests of the country and withdraw the A50 notice. (After May's deal is defeated.)
And then set about properly dealing with the fallout. Firstly, clear up after the riots. Then, whoever is in power after the GE that might follow (probably Labour) commits to ending austerity, more funding for public services in the areas that need it most, make universal credit fit for purpose, make sure MPs are more visible in their constituencies and have public meetings where people can openly air their grievances and be listened to. Commit to removing the need for food banks. And so on. Basically give people some tlc and stop taking the piss. It will cost money, but so will everything if we leave the EU.