Probation period I terminated my contract and joined another company

I came to Saudi Arabia with a new visa. I transferred my visa to one company, then during my probation period I terminated my contract and joined another company. The present company did not take transfer and iqama is going to expire soon. What will happen if my previous company makes an exit for me.? or can I transfer my visa to the present company? Can I continue working?