H1B Consular process from CPT

I’m currently working with CPT permit and H1B got approval through Consular processing. Confused about stamping do i need to leave the US immediately for H1B stamping or there is any chance to stay in US legally until still CPT end??Please help me out.

Well, it is hard to say that. If you are not in Day 1 CPT and working properly in CPT as per general rules, you are fine. Otherwise, it can be risky…You do not know, if you violated status, until you apply for Change of Status. If you are not in Day 1 CPT, nothing to worry. If not, re-think and then take an informed decision.