Pakistan would literally have to physically throw them out for them to leave.
Since afghanistan is going to remain a mess for a long time to come, afghan refugees wont leave easily.
We will throw the afghans out soon as all illegal Urdu speakers, biharis and Bengali are physically thrown out, if they stay then do should afghans.