Yes you can take your coins out of the Liquidity Mining at any time.
Important: After removing liquidity, you are not entitled to any more rewards. As an example: If you got the last rewards on 01:00 CET and you remove your liquidity 4h after that, you will not get any more rewards for those 4h.