This cycle is usually hard to interrupt, but being familiar with its roots is the first step in managing it.
Mania was related with a decreased perception of too little sleep. Except for autism, delusional ideation, https://total-bookmark.com/story17532194/the-2-minute-rule-for-how-to-sleep-better-with-insomnia