I have no idea what you were trying to do, but since you appear to have started the firefox instance as a background process, it should show up if you type 'jobs', then you can kill it with the job number...
Code:
jobs
[X] Running firefox cat.html&
... then take the number shown and type...
kill %X