Can I transfer SEVIs to new school while H1B pending?

I have made decision to study a master degree instead of waiting for H1B approval. I have plan to depart USA after transferring to the new school. Can I COS to H1B in the future ?

Thank you

Once you depart you have to get your F1 stamped. After you finish your studies you can apply for a H1 with your new job.