Exim automatically removes frozen emails on a cPanel server after 5 days. If you want to increase or decrease this number, you can do so.
Go to WHM>>Exim Configuration Manager>> Advanced Editor and search for timeout_frozen_after. Change it to the value you want. Example values: 1d, 48h