These sanctions were in pipes since Obama. I've written about this extensively on here. Pakistan's largest trading partner for it's exports is the US. I don't understand how do you not engage with the only real superpower in the globe for so many years as actively as it was needed. At this time, 80% of the US leaders are against Pakistan. If active foreign policy was at play all these years, you'd see minimal damage.
Secondly, your post is very flawed. You guys like to think "America got humiliated", etc, etc. These same posts are visible to the world as "Pakistanis hate America" when you guys are just too emotional to be frank. To the US, this was an operation. When an operation goes bad, we shut it down without emotions. It's just that simple. Our focus needed to be on China and now trillions are being planned to be spent against China. Nothing has really "destroyed" America financially by being in Afghanistan. Again, Pakistan has always known it had issues with the US, and secondly, there was the Indian lobby factor. That's minimized now and it's just the post Afghan war era image of Pakistan and the US leadership. So somewhere you guys needed to bring blue suits and red ties. The US leadership hates dealing with current or ex military people, sadly, that was all Pakistan could offer. Send in civilians with authority, in suits and with aggressive diplomacy. You'll see results in two years.