 The proposed controller is designed for use during the lockdown period when the islanding mode of operation is required. It consists of an advanced filtering segment embedded with a conventional droop controller, which overcomes the drawbacks of droop controllers of the non-handling of non-linear loads in an ordinary situation. The selective harmonic elimination technique in grid connected mode and lockdown mode and an advanced filter embedded with droop control are used so that the proposed controller can also work as an active harmonic filter, AHF. Simulation results demonstrate that the proposed controller can control the active and reactive power in the lockdown period as well as the harmonics in the normal period up to an extent. This article was authored by Bharat Modi and Mahendra Lalwani.