It would be nice if there was an option in Firefox to automatically shut down the computer when all current downloads are complete.
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.
There are download managers, which have this options. I think JDownloader (also has a firefox integration addon) Hope this info helps.