Compute does not shut down after scan finish

computer does not shut down after scan finishes even though it is set to shut down