In such a case
Buying equity is the best course of action.
Some other choices will also be available, but that will depend on scrip to scrip and some conditions. No blanket rule can be applied in toto to all scrips.
But putting all the funds in one trade may be suicidal as one cant be 100% sure about future direction of market.
My view only