2 switch lite switch
That is the accepted practice for dead ending a wire. The wire nut and tape. Sounds like you insulated it well enough if everything is working without sparks or tripped breakers now. Just keep your eye on it for a while.