I would not use a leash correction to stop barking.
The squirt bottle or penny can may be used to interupt. Then, you have to follow up with rewarding them for the correct behavior (such as coming to you and sitting).
When I have a new dog in the house, if they do not immediately hush on the same hush cue my dogs do, I put a leash on them, walk them to another room, and we do some obedience and end with a long down-stay. I use lot of rewards. I never say anything, just put the leash on and leave the room with the dog. After the first few times, we don't quite leave the room and just do a long down-stay for a few minutes. Basically, I give them an alternative behavior.
Some of the dogs after a week or two bark, hear me ask the others to stop, and run to me for a treat.
Some of the dogs fall in line with my dogs and stop barking (my dogs originally were trained to run to me for a treat but I phased that out for them).
Some of the dogs take a few weeks, but eventually I can simply call them to me and ask for a down. They come willingly because my interupting the barking is always a positive thing.
It you are dealing with barking when you are not home, some dogs do quite well if you simply cover their crate with a sheet and play music. I have used the citronella collar and for some dogs it is great. For others, they learn to whine or do other annoying sounds that don't set the collar off, or they bark straight through until the collar is empty.
If the dog is just too wired, do a time out. Happily ask them to kennel up and then ignore for 5-10 minutes. You can cover the crate if that helps. Once you open the door, the dog has to say high to you and do some attention exercises.