This is a difficult question. First of all, I don't know how much of an opportunity I would give a criminal to surrender once they have entered the confines of my house. Please understand that I do not like the idea of killing another human (even if it is a scum bag), but I will not hesitate in any situation that threatens my family. If the B.G. is down the hall at a distance of +20 feet I would be willing to warn him first, but I do not believe in deploying deadly force as a wish and a prayer.
If the B.G. has surrendered I would not approach any closer than 10-15 feet, so that leaves out cuffing him or stuffing him in a closet. Above all you do not want to lose your weapon to the scum or your force advantage (gun v. knife, bat, crowbar, etc.) by coming into his zone. Have someone call the cops while keeping your sight on center mass with finger on the trigger.
Legally, you have detained the guy in any of the situations gunpoint, closet, or cuffs. It is possible to incur civil liability for false arrest by detaining someone on the street through force or the threat of force. The question is, "Is the detention of the individual justified, and was the amount of force used justified under the circumstances?" Depending on the state in which you live the legal answer to your question would probably be "yes" to all three, but only one would appear to be the correct tactical answer for a civilian defending his home and family.
SBG