Grrr...OF COURSE NOT THE KERNEL IS IN SHUTDOWN STATE. PLZ DON'T BE STUPID...
Steady on with the aggression, and invective. By putting "PLZ" ( I assume you meant "PLEASE") before "STUPID" does not soften the statement. Shame.
As I saw it, by using the "+1" the system will shut down in one minute's time. As such HAD the thing returned as I believe it should, it WOULD process the remainder of the code and be ready for the impending shutdown.
IF I use the Terminal and issue that shutdown command with the "+1" it notifies all users that the system is about to shut down in one minute. During that one minute, I am free to do anything I like within Ubuntu -- INCLUDING abort the shutdown.
So, it is not s great stretch to expect Lazarus to work similarly. I believe this is an oversight by the developers that the fpSystem call does not try to differentiate between commands that need a "wait" and those that do not.
To my mind, fpSystem should be
fpSystem(Cmd : String; Wait : Boolean = True);
p.s.
If I called you STUPID (I am not) for failing to think it through, do you supposed the Mods would censure me because I am a relative newbie and not a seasoned commenter?