It seems to have a connection with putting the console into rest mode too.
I have no idea if true but I have read advice saying that at the moment do not put the ps5 into rest mode at any point, people report that it will enter rest mode but not exit. The only way to break the loop is to press the power button on the console, this causes an incorrect power off which in turn creates a "rebuilding database" action before returning to normal. This constant new rebuilding is alleged to be the main reasons for corrupt saves and bricking consoles