i have changed my employer , so can i travel on my previous employer visa

i changed my employer to B from A, my previous Employer A has revoked my H1b petition but visa is there till 2018 sep with my previous employer name ,so can i travel to india and come back on my previous employer visa or shall i go for stamping to travel to india