during execution of action if client machine shutdowns how to handle it
If the client shuts down mid-action, when it comes back online the action will report as Failed. The client log will also reflect this with a message to the effect “the client service was stopped during action execution”.
How to handle it will depend on your action’s settings, based on the “Retry on failure” and “Reapply” settings you configured.