In: Chemistry
The cap flies because of the formation of CO2 gas inside the separating funnel, since we know that NaHCO3is mild basic in nature so there must be some acidic species present inside the separating funnel , and in the given scenario mild base is used this also confirms that whatever compound is present in separating funnel is weak acidic in nature, preferably formic acid or acetic acid so a very usual acid base reaction is happening inside which produces CO2 gas.
Method to avoid such situation
In separating funnel only way to release pressure is from the top mouth so we must release pressure after each shacking of the funnel, and never keep separating funnel with close cap during workup process, the reaction is given below