Without the passcode this device cannot open its stored wallet keys. You can remove all wallet keys on this device and the passcode and keep using Telegram — you will not be logged out.
Your wallet can be restored from your Telegram backup.
If this device holds any Gram wallet keys, continuing destroys them. They can be restored only from a Telegram backup or your Secret Phrase.