crossbows I don't know, but firearms kinda fell off favor during the closing of Japan by Tokugawa shogunate, despite having seen extensive use at the height of the Sengoku Jidai.
They were not really banned, its just that they were no more large scale war that needed their usage.
Edited by Nitenman