The alarm rings even if I get up before the set time

This morning I woke up before my alarm.
I removed the sleep index and placed it on my desk.
Twenty minutes later, it started vibrating for the alarm.
Sleep was already synced to Connect.