Since you were granted a "visa on arrival" there is no need for special document to leave the country (like exit permit)

However upon returning from India that could be an issue to get another "Visa on Arrival".

You might want to check with the proper authorities, since the public forum could be providing misleading responses.

Regards!!