Sliding-induced non-equilibrium in confined systems