This article is from the CD-Recordable FAQ, by Andy McFadden (firstname.lastname@example.org) with numerous contributions by others.
This is a situation where recording discs proceeds without difficulty, but
the system hangs when you tell it to halt or restart. One possible culprit
is anti-virus software. Try disabling it and see if the problem goes away.