You are legal(needn't F1, H4, EAD) in US if you quit from school. But if your I485 get denied you have to leave US at once. So for safe reason you had better transfer to H4 from F1.