If you are disconnected, it counts as a leave. The game has no way to tell if you left intentionally or were having internet issues. If you are having connection issues, either fix the issue on your side or wait for the servers to recover. Test in quick play to make sure that things are good before trying competitive again.
See How Competitive Skill Rating Works (Season 11) → “Leaver Penalty” for more.