Castlemaine stand-off ends in arrest