Your MacBook goes to sleep when you close the lid. If you have chosen shut down, and close the lid before that completes, then the MacBook will go to sleep. When you open the lid, the Macbook will wake up, then complete the shutdown
This is just what you described, and is normal - so nothing to fix.
You can:
Just close the lid, and don't shut down at all. The Macbook will sleep. Many Mac laptop users operate this way. Open the lid, and you are back to work. Close the lid, and the Macbook can sleep for several days (possibly a couple of weeks) with no problem, and wakes in just a couple of seconds without needing to reboot.
That would also answer your second question. If you don't have to restart, then you won't hear the boot chime. (I think that was your question 'to trun the sound'?
OR, you can wait to close the lid until your Macbook finishes a shutdown, usually only a few seconds.
If you try sleep instead of shutdown, you'll find that you prefer sleep.