Suppose that $C$ is a Grothendieck site, and $\mathscr{X}$ is a stack over $C$ (which is NOT equivalent to a sheaf). Let $$\pi_{\mathscr{X}}:\int_{C} \mathscr{X}\to C$$ denote the associated fibered category. The underlying category $\int_{C} \mathscr{X}$ carries an induced Grothendieck topology such that $$St\left(\int_{C} \mathscr{X}\right) \simeq St\left(C\right)/\mathscr{X}$$ where the latter is the slice 2-category over $\mathscr{X}$.

Now the functor $\pi_{\mathscr{X}}$ induces the functor $$\left(\pi_{\mathscr{X}}\right)_{!} :Sh\left(\int_{C} \mathscr{X}\right) \to Sh(C).$$ It also induces a $2$-functor $$\left(\pi_{\mathscr{X}}\right)_{!} :St\left(\int_{C} \mathscr{X}\right) \to St(C)$$ by taking the weak left Kan extension of $y \circ \pi_{\mathscr{X}}$ along Yoneda, where $y$ here denotes the Yoneda embedding $C \to St(C)$ of $C$. Under the equivalence $$St\left(\int_{C} \mathscr{X}\right) \simeq St\left(C\right)/\mathscr{X},$$ $\left(\pi_{\mathscr{X}}\right)_{!}$ corresponds to the projection $$St(C)/\mathscr{X} \to St(C),$$ since this is weak colimit preserving and agrees with $\left(\pi_{\mathscr{X}}\right)_{!}$ on representables.

This implies that $$\left(\pi_{\mathscr{X}}\right)_{!}\left(1\right)\simeq \mathscr{X}.$$ But the terminal object $1$ is a sheaf, so we should have $\left(\pi_{\mathscr{X}}\right)_{!}\left(1\right) \in Sh(C)$, but we should also have it equivalent to $\mathscr{X}$ which is NOT equivalent to a sheaf. What am I missing?