I think that you need to re-apply for H1B, you can't do transfer. But the application of H1B won't use quota, so you are still OK.