About H1b visa revoke and new H1B visa

I have H1b visa from employer A for a client project. But due to some differences after the stamping I did not go with them. So he threatened that he will revoke my visa. In the mean time, another employer B is willing to provide me job in US. Now can I get my petition/visa transferred from here in India? Can an employer revoke my visa? What are the implications? Please help

B can file cap-exempt petition (aka H-1 transfer) for you. Even if A revokes their petition, it is possible. In order to revoke visa stamp in passport, A will have to submit your physical passport to consulate. In other words, you control whether your visa stamp is revoked or not.