No. Contract will be terminated automatically when it reaches its expiration date. If your mining yield is not able to cover electricity fee, you'll be allocated no yield. The yield allocation will resume if otherwise.
The user is liable for losses caused by early termination of the contract due to any cause outside ViaBTC's control, including but not limited to force majeure events such as policy, government prohibition, earthquake, fire, and power failures.