Like all status effects, it can be removed by drinking milk.
The Efficiency enchantment works in the same fashion as haste does, as it allows the tool that it's put on to mine blocks faster than normal. However, this enchantment only affects the tool it is on, whereas haste affects everything a player uses to mine while it is in effect.
As with other status effects, there is another status effect that does the exact opposite of haste. Mining fatigue makes a player mine blocks slower than normal. It is obtained when a player is close to an elder guardian in an ocean monument.
When a player is underwater, they mine blocks slower than usual. While this isn't really a status effect, it does work in a similar fashion as the haste status effect does; however, a player cannot get rid of this effect at all unless they swim up to the water's surface.
- Using commands to obtain haste with a level of 127 will allow a player to break any block excluding unbreakable blocks.