Opening an opposite position from your current same trading pair on futures will automatically close the initial position if your account is not on Hedge Mode ON.