The easiest way might be to call init() which resets timers and stuff to normal Arduino start configuration. If you use Serial, you need to call begin() again.