diff --git a/vault/ha.go b/vault/ha.go
index <HASH>..<HASH> 100644
--- a/vault/ha.go
+++ b/vault/ha.go
@@ -773,7 +773,7 @@ func (c *Core) cleanLeaderPrefix(ctx context.Context, uuid string, leaderLostCh 
 // clearLeader is used to clear our leadership entry
 func (c *Core) clearLeader(uuid string) error {
 	key := coreLeaderPrefix + uuid
-	err := c.barrier.Delete(c.activeContext, key)
+	err := c.barrier.Delete(context.Background(), key)
 
 	// Advertise ourselves as a standby
 	sd, ok := c.ha.(physical.ServiceDiscovery)
Don't use activeContext for standby/leader cancelation (#<I>)

Move cancelation to after cleanup



Fixes GH-<I>