Using plink with sudo access

I have similar issue as mentioned in

167174-how-run-script-using-batch-file.html

It works good, but the control is not coming back to source i tried adding exit to remote script.

Thanks,
Suresh