What is the purpose of ammonium chloride in anti hydrogenation of alkynes?
Products from reaction step (1) are the trans-alkene and 2 equivalents of the amide $\ce{LiNHEt}$, a strong base. Step (2) is the workup of the reaction mixture with aqueous $\ce{NH4Cl}$ solution, which serves several purposes. First, it quenches the lithium amide and unreacted lithium metal.

$$\ce{LiNHEt + NH4Cl -&gt;~ EtNH2 + NH3 + LiCl}$$
$$\ce{Li + H2O -&gt;~ LiOH (aq) + \frac{1}{2} H2\uparrow}$$

Secondly, the trans-alkene is usually less water-soluble than ethyl amine and the lithium and ammonium salts, and can be separated from the workup mixture by precipitation or extraction with an organic solvent.