you should have enough slack in the brake lines to carefully remove the master and move it over some without having to disconnect the lines, depending upon if the lines are not "fiddle string tight" to any junction block.
beer