@Kunimünch Sascha Discussed your above mentioned scenario with my team, they suggested the following approach - need to stop the scanner before rebooting the NAS. otherwise it will corrupt the files. It is never recommended to interrupt a scan while its processing files. If you have a planned activity with rebooting the NAS then also stop the scan and we can check it is really done by running Get-AIPScannerStatus
Let me know if you have any further questions, feel free to post back.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.