Huh? You have a pre-shutdown update hook? Or you were performing an update when you shut down?
In whatever case you could probably start here: