The restaurant turned the lights on because you were the last ones there and they wanted you to leave.