what happens to amendment when H1b transfer gets denied

My current employer A filed amendment when I moved from Location X to Location Y four months ago. Now I got an offer from employer B. it looks like I can go ahead with my H1b transfer but what happens to the amendment filed by my current employer when H1b transfer gets denied? will they get to know that I attempted to transfer and if the amendment gets void will I be out of status? please clarify.

H-1 transfer denial will have no impact on H-1 amendment. They can continue in parallel.