I would advise also.. Remove your access to purchase things. If you are unable to sleep at least try and lay down and do some meditation or just deep breathing.
You should probably call your Pdoc and get something started to curb this hypo/Mania. It's a good idea to have a game plan in place for times like this where you are aware you are hitting a hypo/manic phase.
Many people including myself have a Medication to use PRN (as needed) for when the pesky mood flips pop up.
Please stay safe and I hope you can get back onto even ground soon