After his Dutch kingdom was taken away from him, the Austrian Emperor Francis I offered him asylum. Between 1811 and 1813, he found refuge in Graz, where he turned to writing and poetry. Louis wrote to Napoleon after the latter's defeat in Russia to request that the Dutch throne be restored to him; however, Napoleon refused. His request to visit the Netherlands was denied several times by King William I of the Netherlands, but King William II allowed him a visit in 1840. Although traveling in the Netherlands under a false name, some people found out that it was their former king, which led to a cheering crowd gathering under the window of his hotel room. It is said that he was quite moved by this demonstration of affection from his former subjects.