Can I change the following sentence. I had to study and keep reviewing to succeed. to-----You must study and keep reviewing to succeed. Will this be an imperative sentence now?

An imperative sentence is a command.

Clean your room!
Please, pass the noodles.
Take your seats, and open your texts to page 93.